[JIRA] [git-client-plugin] (JENKINS-28529) Git polling deletes files in workspace if clean and ignore commits in path both enabled

2015-05-21 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-28529 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git polling deletes files in workspace if clean and ignore commits in path both enabled  
 
 
 
 
 
 
 
 
 
 
I've verified that the problem is repeatable if an exclusion path is defined in the job and "clean before checkout" is enabled. 
My test case was: 
 

Create a git repository with an ant build script that creates a temporary file as its default target
 

Define a Jenkins job which monitors that repository and runs the ant build script, confirm the workspace has the temporary file after polling
 

Enable "clean before checkout" on that Jenkins job, confirm the workspace has the temporary file after polling
 

Enable path exclusion on the Jenkins job, confirm that the temporary file is deleted from the workspace by the next poll
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-client-plugin] (JENKINS-28529) Git polling deletes files in workspace if clean and ignore commits in path both enabled

2015-05-21 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-28529 
 
 
 
  Git polling deletes files in workspace if clean and ignore commits in path both enabled  
 
 
 
 
 
 
 
 
 

Change By:
 
 Mark Waite 
 
 
 

Summary:
 
 Git polling deletes files in workspace if clean and ignore commits in path  both  enabled 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-client-plugin] (JENKINS-28529) Git polling deletes files in workspace if clean and ignore commits in path enabled

2015-05-21 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-28529 
 
 
 
  Git polling deletes files in workspace if clean and ignore commits in path enabled  
 
 
 
 
 
 
 
 
 

Change By:
 
 Mark Waite 
 
 
 

Summary:
 
 Git polling deletes files in workspace  if clean and ignore commits in path enabled 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-client-plugin] (JENKINS-28529) Git polling deletes files in workspace

2015-05-21 Thread ronny.schu...@gmx.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ronny Schuetz commented on  JENKINS-28529 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git polling deletes files in workspace  
 
 
 
 
 
 
 
 
 
 
"Force polling to use workspace" isn't configured at all, the GIT plugin configuration just contains the 2 resp. 3 "Additional behavior" modules listed above. "Name" and "Refspec" are empty, "Branch specifier" is "master", git executable is 

not
 jgit, the git command line version used is "1.8.0.2" 
It happens when a workspace is already available. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-client-plugin] (JENKINS-28529) Git polling deletes files in workspace

2015-05-21 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-28529 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git polling deletes files in workspace  
 
 
 
 
 
 
 
 
 
 
Does it do that only when using "Force polling to use workspace", or does it happen when or not a workspace is already available? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-client-plugin] (JENKINS-28529) Git polling deletes files in workspace

2015-05-21 Thread ronny.schu...@gmx.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ronny Schuetz created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-28529 
 
 
 
  Git polling deletes files in workspace  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Nicolas De Loof 
 
 
 

Components:
 

 git-client-plugin 
 
 
 

Created:
 

 21/May/15 3:43 PM 
 
 
 

Environment:
 

 Jenkins ver. 1.596, git-client-plugin 1.16.1 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Ronny Schuetz 
 
 
 
 
 
 
 
 
 
 
Sample GIT repo with the following content: 
 

./dir1/file1
 

./dir1/file3
 

./dir2/file2
 

./file1
 

./file2
 
 
When using the following GIT client configuration