Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danielpieczko opened this issue Nov 30, 2023 · 1 comment
Open

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

danielpieczko opened this issue Nov 30, 2023 · 1 comment

Comments

@danielpieczko
Copy link

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
Copy link
Collaborator

mbanth commented Nov 30, 2023

This issue is tracked in Jira AP-292.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants