Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Jenkins Pipelines) do not allocate agent for "parent" pipelines and retry the packaging process a 2nd time #283

Merged
merged 3 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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