This is an automated email from the ASF dual-hosted git repository.

tzimanyi 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 98c475d5 Remove branch pipeline: Set build info (#1071)
98c475d5 is described below

commit 98c475d5e144062ac653ecfc16e798fbfb04e3ad
Author: Tristan Radisson <[email protected]>
AuthorDate: Tue Oct 17 10:15:08 2023 +0200

    Remove branch pipeline: Set build info (#1071)
---
 dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches 
b/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
index f42833b2..cd43592c 100644
--- a/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
+++ b/dsl/seed/jenkinsfiles/Jenkinsfile.remove.branches
@@ -29,6 +29,8 @@ pipeline {
         stage('Initialize') {
             steps{
                 script{
+                    currentBuild.displayName = getRemoveBranch()
+
                     dir(getRepo()){
                         checkoutRepo(getRepo(), getGitAuthor(), 
getBuildBranch(), getGitAuthorCredsId())
                     }
@@ -138,4 +140,4 @@ void mergeAndPush(String prLink, String targetBranch) {
         githubscm.mergePR(prLink, getGitAuthorCredsId())
         githubscm.pushObject('origin', targetBranch, getGitAuthorCredsId())
     }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to