Page MenuHomeSoftware Heritage

jenkins: Change node name to built-in
ClosedPublic

Authored by ardumont on Dec 7 2021, 6:21 PM.

Details

Summary

This is necessary after the upgrade to the version 2.319.1 [1]

[1] https://www.jenkins.io/doc/book/managing/built-in-node-migration/

Related to T3770

Test Plan

clicking in the jenkins ui, it is happy with built-in.

Diff Detail

Repository
rCJSWH Jenkins jobs
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier added a subscriber: vsellier.

Thanks
More info here: https://www.jenkins.io/doc/book/managing/built-in-node-migration/

As part of the terminology cleanup effort, the built-in node was renamed from "master node" to "built-in node" in Jenkins 2.307 and in Jenkins 2.319.1. This is not just a change affecting the UI and documentation: The node name affects the implicitly assigned label of the node (and consequently the NODE_LABELS environment variable), as well as the NODE_NAME environment variable.
The NODE_NAME environment variable in Pipelines is set by the Pipeline: Nodes and Processes plugin. In plugin version 2.39 and earlier, this value is always master. Update to version 2.40 or newer to get consistent behavior between job types.

This revision is now accepted and ready to land.Dec 7 2021, 6:34 PM
ardumont retitled this revision from jenkins: Following a recent upgrade, the name master got renamed to jenkins: Change node name to built-in.Dec 7 2021, 6:49 PM
ardumont edited the summary of this revision. (Show Details)
ardumont edited the summary of this revision. (Show Details)

Align commit message with diff description

Thanks a lot for the diff description update.
(When walking, i realized i missed to do it ;)

This revision was automatically updated to reflect the committed changes.