Step 3 - Unpack the attached file: gunzip myjob.xml.gz
Step 4 - Import the sample job: java -jar jenkins-cli.jar -s http://your_jenkins_url create-job test < myjob.xml
Step 5 - Send a message to start the job
Results
Expected result:
The expectation is to have the boolean parameter as true because it is its default value
Actual result:
When the job is triggered by the ci event the boolean default value is not respected and is defined as false but when the job is started manually (not thur the ci event) the defaults are respected.
Version report
Jenkins and plugins versions report:
Reproduction steps
gunzip myjob.xml.gz
java -jar jenkins-cli.jar -s http://your_jenkins_url create-job test < myjob.xml
Results
Expected result:
The expectation is to have the boolean parameter as true because it is its default value
Actual result:
When the job is triggered by the ci event the boolean default value is not respected and is defined as false but when the job is started manually (not thur the ci event) the defaults are respected.