mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
[FIXED JENKINS-16499] Assuming that:
- save() is not strictly necessary here. config.xml might be saved later or not - doesn't really matter - this else branch should only be entered when migrating from very old Hudson instances
This commit is contained in:
1 parent
7d422e60d9
commit
12efbc3a9b
1 file changed
-1
@@ -189,7 +189,6 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
|
||||
} else {
|
||||
// From the old Hudson, or doCreateItem. Create this file now.
|
||||
saveNextBuildNumber();
|
||||
save(); // and delete it from the config.xml
|
||||
}
|
||||
|
||||
if (properties == null) // didn't exist < 1.72
|
||||
|
||||
Reference in new issue
Block a user