xmos / xcore_iot

Other
29 stars 38 forks source link

Jenkins job doesn't perform build and test stages #629

Open danielpieczko opened 7 months ago

danielpieczko commented 7 months ago

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

mbanth commented 7 months ago

This issue is tracked in Jira AP-292.