Skip to content

Commit

Permalink
Merge pull request #282 from cimbalek/kie-issues-777
Browse files Browse the repository at this point in the history
kie-issues#777: Allow restricting jenkins agent labels for pipelines
  • Loading branch information
cimbalek authored Feb 20, 2024
2 parents df8e1d4 + 17db5f3 commit 4503455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/jenkins/Jenkinsfile.branch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TARGET_BRANCH="newBranch"

pipeline {
agent {
label "$AGENT_LABEL"
label util.avoidFaultyNodes(AGENT_LABEL)
}
options {
timestamps()
Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.bump-up-version
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pipeline {
docker {
image env.AGENT_DOCKER_BUILDER_IMAGE
args env.AGENT_DOCKER_BUILDER_ARGS
label util.avoidFaultyNodes()
}
}

Expand Down

0 comments on commit 4503455

Please sign in to comment.