Skip to content

Commit

Permalink
Merge pull request #283 from dduportal/helpdesk-2925
Browse files Browse the repository at this point in the history
fix(Jenkins Pipelines) do not allocate agent for "parent" pipelines and retry the packaging process a 2nd time
  • Loading branch information
dduportal authored Sep 8, 2022
2 parents 34107e9 + 92d2608 commit 0670a76
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile.d/core/package
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pipeline {
kubernetes {
yamlFile 'PodTemplates.d/package-linux.yaml'
workingDir '/home/jenkins/agent'
retries 2 // Retry in case of agent error caused by controller restart or pod deletion for instance
}
}

Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile.d/core/release
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Jenkins Plugins:
* Azure-Credentials
* SSH-agent
* Kubernetes
*/

pipeline {
Expand Down
6 changes: 1 addition & 5 deletions Jenkinsfile.d/core/stable
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
pipeline {

agent {
kubernetes {
}
}
agent none

options {
disableConcurrentBuilds()
Expand Down
6 changes: 1 addition & 5 deletions Jenkinsfile.d/core/stable-rc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
pipeline {

agent {
kubernetes {
}
}
agent none

options {
disableConcurrentBuilds()
Expand Down
6 changes: 1 addition & 5 deletions Jenkinsfile.d/core/weekly
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
pipeline {

agent {
kubernetes {
}
}
agent none

options {
disableConcurrentBuilds()
Expand Down

0 comments on commit 0670a76

Please sign in to comment.