-
Patch
-
Resolution: Fixed
-
Major
-
Platform: All, OS: All
When updating the 'stable' builds of our projects, I update the repository URL
from svn://aaa/project/branches/182 to svn://aaa/project/branches/183 ( for
instance ).
This results in a clean checkout ( Checking out a fresh workspace because the
workspace is not svn://aaa/project/branches/183 ), which takes somewhere around
30 minutes, when a svn switch would've taken a few seconds.
What I suggest is a (perhaps per job configurable) setting which would use svn
switch if all but the last
path elements are the same.
For instance, a setting of 1 would allow switch to be used for
svn://aaa/project/branches/183 -> svn://aaa/project/branches/184
but not for
svn://aaa/project/branches/183 -> svn://aaa/project/trunk
A setting of 2 would allow switch to be used for both.
A setting of 0 would disallow the usage of svn switch.
- duplicates
-
JENKINS-11086 Allow user to enable a 'svn switch' if branch URL has changed since last run
-
- Resolved
-
- is duplicated by
-
JENKINS-5081 It should be possible to do "svn switch" instead of clean checkout
-
- Closed
-
- is related to
-
JENKINS-14282 Double forwardslash in SVN URL causes Jenkins to repeatedly build
-
- Resolved
-
-
JENKINS-4613 Log message when svn URL is wrong could be better
-
- Closed
-
This would be extremely useful, even if it were as simple as
[x] Use switch
[ ] Use update
in the configuration of each job.
Parameterized builds for testing individual feature workspaces, which generally change a minimal number of the artifacts in the repository, take far longer than necessary due to the need to retrieve a largish repository before beginning each build.
The "development testing" Hudson jobs we use do not cause any artifacts to be committed back to the repository, so there is no danger of merge conflicts through local modifications... the ability to select 'switch' vs 'update' on a per-job basis would greatly magnify the utility enabled by the tool.