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

Remove NODE_LABEL from build job params #55

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

andrew-m-leonard
Copy link
Contributor

Fixes adoptium/ci-jenkins-pipelines#312

Issue https://github.com/adoptium/ci-jenkins-pipelines/pull/101/files originally remove the NODE_LABEL from the create build job template, as it is correctly not needed, since the openjdk pipelines use node() context to achieve the same here: https://github.com/adoptium/ci-jenkins-pipelines/blob/bc206dcf5aab5ebba3f081a55533c9313fc5cefb/pipelines/build/common/openjdk_build_pipeline.groovy

However the jenkins-helper IndividualBuildConfig.toBuildParams() was still adding it to the job invocation, thus causing the Jenkins log error...

@andrew-m-leonard
Copy link
Contributor Author

Successful test with no NODE_LABEL: https://ci.adoptium.net/job/build-scripts/job/openjdk20-pipeline/207/console

@karianna karianna merged commit 3e56f19 into adoptium:master Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Jenkins warning about NODE_LABEL being undefined on build pipelines
3 participants