This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/main by this push:
new c0fb9e1c Fix release prepare (#1221)
c0fb9e1c is described below
commit c0fb9e1c59ae115d5c77981881c0403c1ce0f359
Author: Jan Stastny <[email protected]>
AuthorDate: Mon Jul 15 15:05:04 2024 +0200
Fix release prepare (#1221)
* fix agent config for root jobs
* fix release prepare commit
* fix release prepare commit #2
---------
Co-authored-by: jstastny-cz <[email protected]>
---
dsl/seed/jenkinsfiles/Jenkinsfile.release.prepare | 9 ++++++---
dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches | 8 +++++---
dsl/seed/jenkinsfiles/Jenkinsfile.tools.toggle-triggers | 8 +++++---
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/dsl/seed/jenkinsfiles/Jenkinsfile.release.prepare
b/dsl/seed/jenkinsfiles/Jenkinsfile.release.prepare
index 717f81b9..1afbfc26 100644
--- a/dsl/seed/jenkinsfiles/Jenkinsfile.release.prepare
+++ b/dsl/seed/jenkinsfiles/Jenkinsfile.release.prepare
@@ -9,9 +9,11 @@ repositoriesToBranch = []
pipeline {
agent {
- image env.AGENT_DOCKER_BUILDER_IMAGE
- args env.AGENT_DOCKER_BUILDER_ARGS
- label util.avoidFaultyNodes('ubuntu')
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ label util.avoidFaultyNodes('ubuntu')
+ }
}
environment {
@@ -73,6 +75,7 @@ pipeline {
if (githubscm.isThereAnyChanges()) {
sh 'git diff'
+
githubscm.setUserConfigFromCreds(getMainBranchConfigFileGitAuthorPushCredentialsId())
githubscm.commitChanges('Setup DSL branch config
after cut-off')
githubscm.pushObject('origin', newBranch,
getMainBranchConfigFileGitAuthorPushCredentialsId())
diff --git a/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
b/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
index a7d9cd6d..e5fb1836 100644
--- a/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
+++ b/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
@@ -6,9 +6,11 @@ import org.kie.jenkins.MavenCommand
pipeline {
agent {
- image env.AGENT_DOCKER_BUILDER_IMAGE
- args env.AGENT_DOCKER_BUILDER_ARGS
- label util.avoidFaultyNodes('ubuntu')
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ label util.avoidFaultyNodes('ubuntu')
+ }
}
options{
diff --git a/dsl/seed/jenkinsfiles/Jenkinsfile.tools.toggle-triggers
b/dsl/seed/jenkinsfiles/Jenkinsfile.tools.toggle-triggers
index c13488b2..5beaf6b9 100644
--- a/dsl/seed/jenkinsfiles/Jenkinsfile.tools.toggle-triggers
+++ b/dsl/seed/jenkinsfiles/Jenkinsfile.tools.toggle-triggers
@@ -5,9 +5,11 @@ import org.kie.jenkins.MavenCommand
pipeline {
agent {
- image env.AGENT_DOCKER_BUILDER_IMAGE
- args env.AGENT_DOCKER_BUILDER_ARGS
- label util.avoidFaultyNodes('ubuntu')
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ label util.avoidFaultyNodes('ubuntu')
+ }
}
options {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]