From 7d302344ba131215230c9798bfbb5842f0fe756c Mon Sep 17 00:00:00 2001 From: Martin Cimbalek Date: Fri, 16 Feb 2024 16:47:20 +0100 Subject: [PATCH] kie-issues#777: Allow restricting jenkins agent labels for pipelines --- .ci/jenkins/Jenkinsfile.post-release | 2 +- .ci/jenkins/Jenkinsfile.setup-branch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/jenkins/Jenkinsfile.post-release b/.ci/jenkins/Jenkinsfile.post-release index 203c401e6..f0217268d 100644 --- a/.ci/jenkins/Jenkinsfile.post-release +++ b/.ci/jenkins/Jenkinsfile.post-release @@ -23,7 +23,7 @@ import org.jenkinsci.plugins.workflow.libs.Library pipeline { agent { - label 'ubuntu' + label util.avoidFaultyNodes('ubuntu') } options { diff --git a/.ci/jenkins/Jenkinsfile.setup-branch b/.ci/jenkins/Jenkinsfile.setup-branch index 889f5f87b..4560937ce 100644 --- a/.ci/jenkins/Jenkinsfile.setup-branch +++ b/.ci/jenkins/Jenkinsfile.setup-branch @@ -23,7 +23,7 @@ import org.jenkinsci.plugins.workflow.libs.Library pipeline { agent { - label 'ubuntu' + label util.avoidFaultyNodes('ubuntu') } options {