[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2014-02-26 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21023


WorkspaceCleanupThread does not handle folders















Code changed in jenkins
User: Jesse Glick
Path:
 core/src/main/java/hudson/model/WorkspaceCleanupThread.java
 test/src/test/java/hudson/model/WorkspaceCleanupThreadTest.java
http://jenkins-ci.org/commit/jenkins/6b474c279dcc473c063a84f29d37b0123a4bc192
Log:
  FIXED JENKINS-21023 Rewrote WorkspaceCleanupThread to determine where workspaces for known items should be, rather than looking for directories that look like they might be workspaces.
One key advantage is that this correctly handles the new default workspace location on the master.
Another is that this allows folders to be correctly skipped, and jobs in folders to be correctly deleted.
A subtler advantage would be handling of configured nondefault workspace locations, and compatibility with WorkspaceLocator.
(Orphaned workspaces from deleted jobs are not removed, but these were not removed before either.)
(cherry picked from commit cd526e99e63ae362f2d1ce1a04c3c68a38032a5c)

Conflicts:
	changelog.html


Compare: https://github.com/jenkinsci/jenkins/compare/93500aeaa5e8...6b474c279dcc




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.


[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2014-02-24 Thread dogf...@java.net (JIRA)














































dogfood
 commented on  JENKINS-21023


WorkspaceCleanupThread does not handle folders















Integrated in  jenkins_main_trunk #3192
 FIXED JENKINS-21023 Rewrote WorkspaceCleanupThread to determine where workspaces for known items should be, rather than looking for directories that look like they might be workspaces. (Revision cd526e99e63ae362f2d1ce1a04c3c68a38032a5c)

 Result = SUCCESS
Jesse Glick : cd526e99e63ae362f2d1ce1a04c3c68a38032a5c
Files : 

	changelog.html
	test/src/test/java/hudson/model/WorkspaceCleanupThreadTest.java
	core/src/main/java/hudson/model/WorkspaceCleanupThread.java





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.


[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2014-02-04 Thread jgl...@cloudbees.com (JIRA)















































Jesse Glick
 assigned  JENKINS-21023 to Jesse Glick



WorkspaceCleanupThread does not handle folders
















Change By:


Jesse Glick
(04/Feb/14 3:05 PM)




Assignee:


JesseGlick



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.


[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2014-02-04 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 started work on  JENKINS-21023


WorkspaceCleanupThread does not handle folders
















Change By:


Jesse Glick
(04/Feb/14 3:05 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.


[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2014-02-04 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-21023 as Fixed


WorkspaceCleanupThread does not handle folders
















Change By:


SCM/JIRA link daemon
(04/Feb/14 5:40 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.


[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2014-02-04 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21023


WorkspaceCleanupThread does not handle folders















Code changed in jenkins
User: Jesse Glick
Path:
 changelog.html
 core/src/main/java/hudson/model/WorkspaceCleanupThread.java
 test/src/test/java/hudson/model/WorkspaceCleanupThreadTest.java
http://jenkins-ci.org/commit/jenkins/cd526e99e63ae362f2d1ce1a04c3c68a38032a5c
Log:
  FIXED JENKINS-21023 Rewrote WorkspaceCleanupThread to determine where workspaces for known items should be, rather than looking for directories that look like they might be workspaces.
One key advantage is that this correctly handles the new default workspace location on the master.
Another is that this allows folders to be correctly skipped, and jobs in folders to be correctly deleted.
A subtler advantage would be handling of configured nondefault workspace locations, and compatibility with WorkspaceLocator.
(Orphaned workspaces from deleted jobs are not removed, but these were not removed before either.)





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.


[JIRA] [core] (JENKINS-21023) WorkspaceCleanupThread does not handle folders

2013-12-16 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 created  JENKINS-21023


WorkspaceCleanupThread does not handle folders















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


16/Dec/13 5:37 PM



Description:


Only considers direct subdirectories of jobs, and later calls getItem which can only work for top-level jobs.

Also process(Jenkins) is only looking for $JENKINS_HOME/jobs//workspace/ for builds run on master, which is deprecated—new installations use $JENKINS_HOME/workspace/*/. Ideally would handle any workspace location pattern, since this is configurable.




Project:


Jenkins



Labels:


folders




Priority:


Major



Reporter:


Jesse Glick

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.