Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: core
-
Environment:Linux
-
Similar Issues:
Description
This bug is related to the new enhancement that was added in v1.519 for better tracking a queued job.
When starting the job with parameters I expect to get 201 status code, but instead I'm getting 302 code which redirects me to the "Location" header url.
See attached screenshot from the request and the response (taken by Fiddler)
Code changed in jenkins
User: Craig Rodrigues
Path:
src/test/groovy/com/cloudbees/plugins/flow/ConcurrencyTest.groovy
http://jenkins-ci.org/commit/build-flow-plugin/faeaa5cc2062f7c7b73073e201b12646e9538963
Log:
Delete test which no longer works in 1.521+ due to improved core behavior from
JENKINS-18407Due to the improved core behavior, in JobInvocation.groovy's run()
method, schedule2() no longer returns null when invoked from the test.