mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
This concludes the fix. In 1.211 [fixed]. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8767 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
fa7aea9c3c
commit
ea65aad5c2
1 file changed
+3
-1
@@ -332,8 +332,10 @@ public class SubversionSCM extends SCM implements Serializable {
|
||||
*/
|
||||
private List<External> checkout(AbstractBuild build, FilePath workspace, TaskListener listener) throws IOException, InterruptedException {
|
||||
try {
|
||||
if (!repositoryLocationsExist()) {
|
||||
if (!repositoryLocationsExist() && build.getProject().getLastSuccessfulBuild()!=null) {
|
||||
// Disable this project, see issue #763
|
||||
// but only do so if there was at least some successful build,
|
||||
// to make sure that initial configuration error won't disable the build. see issue #1567
|
||||
listener.getLogger().println("One or more repository locations do not exist anymore for " + build.getProject().getName() + ", project will be disabled.");
|
||||
build.getProject().makeDisabled(true);
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user