Set label for all the sh calls dinamically

2023-05-31 Thread Michel Filipe
Hey, I'm working on a project that implements OpenTelemetry metrics on our Jenkins and one problem that we found out is the metrics related to sh are pushed to Prometheus using just sh as reference but we want to set the command executed by sh as label to be easier to identify them. Some option

Re: Reserving a display on each node

2023-05-31 Thread 'Christoph VogtlÃĪnder' via Jenkins Users
Hi, the downside of using a ephemeral lock like "${NODE_NAME}-display" is that you cannot select a node where the resource is actually free. In the worst case, all your builds that require a display are using the same node, blocking each other while other nodes are still free. This is not a probl