This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch radtriste-fix-pipelines
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
The following commit(s) were added to refs/heads/radtriste-fix-pipelines by
this push:
new 801c3969 fix closure
801c3969 is described below
commit 801c3969e572d18dc7de265cec4894863b803e6e
Author: jstastny-cz <[email protected]>
AuthorDate: Wed Nov 8 14:02:17 2023 +0100
fix closure
---
.ci/jenkins/Jenkinsfile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index 86548427..68e4d6ed 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -10,9 +10,21 @@ pipeline {
skipDefaultCheckout()
}
stages {
+ stage("Build&Test") {
+ steps {
+ script {
+ createBuildAndTestStageClosure()
+ }
+ }
+ }
+ }
+}
+
+Closure createBuildAndTestStageClosure() {
+ return {
stage("Build&Test") {
List buildParams = []
- buildParams.add(string(name: "DISPLAY_NAME", value: "PR
#${CHANGE_ID} - ${image}: ${CHANGE_URL}"))
+ buildParams.add(string(name: "DISPLAY_NAME", value: "PR
#${CHANGE_ID}: ${CHANGE_URL}"))
buildParams.add(string(name: "CHANGE_ID", value: CHANGE_ID))
buildParams.add(string(name: "CHANGE_URL", value: CHANGE_URL))
buildParams.add(string(name: 'SOURCE_AUTHOR', value:
getChangeAuthor()))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]