jenkinsci / jenkinsci/subversion-plugin
[JENKINS-10222] Jenkins cleaning out workspace unnecessarily when polling SCM (SVN)
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
I am using a SVN repository which is being checked out at the beginning of every build in a Jenkins job. It is set to "poll SCM" for updates. However, regardless of whether there were changes or not it is cleaning out the workspace and downloading the whole repository in it's entirety every time which is unnecessary.
Builds are taking much longer than they should as the SVN poll should only be checking out newly-updated files. Sample log:
Checking out a fresh workspace because the workspace is not file://PICKLE/Repositories/project
Cleaning workspace.....
---
Originally reported by giles, imported from: Jenkins cleaning out workspace unnecessarily when polling SCM (SVN)
Raw content of original issue
I am using a SVN repository which is being checked out at the beginning of every build in a Jenkins job. It is set to "poll SCM" for updates. However, regardless of whether there were changes or not it is cleaning out the workspace and downloading the whole repository in it's entirety every time which is unnecessary.
Builds are taking much longer than they should as the SVN poll should only be checking out newly-updated files. Sample log:
Checking out a fresh workspace because the workspace is not file://PICKLE/Repositories/project
Cleaning workspace.....
- environment:
Windows
Contributor guide
Assessment
This issue has not been assessed yet.