You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "jstastny-cz (via GitHub)" <gi...@apache.org> on 2024/02/15 11:31:08 UTC

Re: [I] Allow restricting jenkins agent labels for pipelines [incubator-kie-issues]

jstastny-cz commented on issue #777:
URL: https://github.com/apache/incubator-kie-issues/issues/777#issuecomment-1945909924

   @cimbalek please check the pr_check.groovy script, it's the only appearance of scripted pipeline in our pipelines and we've missed it with the faulty labels adjustment: https://github.com/apache/incubator-kie-kogito-pipelines/blob/main/dsl/scripts/pr_check.groovy#L35
   
   I believe wrapping as 
   ```
   node ("label"){
      docker.image(builderImage).inside(dockerArgs.join(' '))
   }
   ```
   might do the trick
   https://www.jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#node-allocate-node


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org