-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Platform: All, OS: All
If you create a job through the web UI, the first build is #1. If you post
config.xml to /createItem?name=..., the first build is #0.
Debugger confirms that when Job.onLoad is run, nextBuildNumber==0, despite
protected transient volatile int nextBuildNumber = 1;
Some XStream magic I suppose.
[JENKINS-3361] Jobs created by doCreateItem start with build #0
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 133434 ] | New: JNJira + In-Review [ 202159 ] |