Quyen Nguyen
Quyen Nguyen

Reputation: 1

Display value of view columns on jenkins using jenkins pipeline

I'm using jenkins pipeline. I can get the value of the node name that my job is running on like this: echo "NODE_NAME = ${env.NODE_NAME}"

Now I want to display the value of NODE_NAME on view of jenkins UI in the red circle below. How can I do it? Plz help. Jenkins view

Upvotes: -2

Views: 253

Answers (1)

Oliver Gondža
Oliver Gondža

Reputation: 3511

Unfortunately, pipeline is not considered to be "built on" any particular machine as it can be using zero to many nodes. That is the reason why those plugins that visualize build nodes does not discover anything. The incompatibility between pipeline and old-style jobs is apparent on multiple places (node build history, build page, etc.).

Upvotes: 0

Related Questions