Skip to content

Commit

Permalink
kie-issues#777: Allow restricting jenkins agent labels for pipelines (#…
Browse files Browse the repository at this point in the history
…5680)

* kie-issues#777: Allow restricting jenkins agent labels for pipelines

* force retest
  • Loading branch information
cimbalek committed Feb 14, 2024
1 parent 17d147d commit c5efe9d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pr_check_script = null

pipeline {
agent {
label 'ubuntu'
label util.avoidFaultyNodes('ubuntu')
}
options {
timestamps()
Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pipeline {
docker {
image env.AGENT_DOCKER_BUILDER_IMAGE
args env.AGENT_DOCKER_BUILDER_ARGS
label util.avoidFaultyNodes()
}
}

Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.promote
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pipeline {
docker {
image env.AGENT_DOCKER_BUILDER_IMAGE
args env.AGENT_DOCKER_BUILDER_ARGS
label util.avoidFaultyNodes()
}
}

Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pipeline {
docker {
image env.AGENT_DOCKER_BUILDER_IMAGE
args env.AGENT_DOCKER_BUILDER_ARGS
label util.avoidFaultyNodes()
}
}

Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.weekly.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pipeline {
docker {
image env.AGENT_DOCKER_BUILDER_IMAGE
args env.AGENT_DOCKER_BUILDER_ARGS
label util.avoidFaultyNodes() //force retest
}
}

Expand Down
2 changes: 1 addition & 1 deletion .ci/jenkins/project/Jenkinsfile.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ UNSTABLE_STAGES = [:]
// Should be multibranch pipeline
pipeline {
agent {
label 'ubuntu'
label util.avoidFaultyNodes('ubuntu')
}

options {
Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/project/Jenkinsfile.post-release
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
2 changes: 1 addition & 1 deletion .ci/jenkins/project/Jenkinsfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ releaseProperties = [:]

pipeline {
agent {
label 'ubuntu'
label util.avoidFaultyNodes('ubuntu')
}

environment {
Expand Down
2 changes: 1 addition & 1 deletion .ci/jenkins/project/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ UNSTABLE_STAGES = [:]

pipeline {
agent {
label 'ubuntu'
label util.avoidFaultyNodes('ubuntu')
}

options {
Expand Down
2 changes: 1 addition & 1 deletion .ci/jenkins/project/Jenkinsfile.weekly
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ UNSTABLE_STAGES = [:]
// Should be multibranch pipeline
pipeline {
agent {
label 'ubuntu'
label util.avoidFaultyNodes('ubuntu')
}

options {
Expand Down

0 comments on commit c5efe9d

Please sign in to comment.