-
Notifications
You must be signed in to change notification settings - Fork 42
Description
I looked in xcore_iot on Jenkins to see if there were any build artifacts to save having to build them myself, and I noticed that the build and test stages of the Jenkins job are not being run.
Example: http://srv-bri-jcim0:8080/blue/organizations/jenkins/XMOS%2Fxcore_iot/detail/develop/188/pipeline
The job does getApproval and then skips all the useful content of the job. This is because those stages are all protected by when statements:
when {
expression { params.NIGHTLY_TEST_ONLY == true }
}
However, the NIGHTLY_TEST_ONLY parameter doesn't exist in this job, so those stages never run.
Bonus issue: I replayed the job with a manual edit to the Jenkinsfile to remove the when statements so that those stages would be run. It failed during the checkout stage: http://srv-bri-jcim0:8080/blue/organizations/jenkins/XMOS%2Fxcore_iot/detail/develop/189/pipeline