Skip to content

Commit 81eb680

Browse files
committed
PKG-413 psmdb-60: fix new vars definitions
1 parent 7f322ce commit 81eb680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psmdb/jenkins/get-psmdb-branches-6.0.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pipeline {
2626
stages {
2727
stage('Get release branches') {
2828
steps {
29+
script {
2930
String S3_STASH = (params.CLOUD == 'Hetzner') ? 'HTZ_STASH' : 'AWS_STASH'
3031
String S3_ENDPOINT = (params.CLOUD == 'Hetzner') ? '--endpoint-url https://fsn1.your-objectstorage.com' : '--endpoint-url https://s3.amazonaws.com'
3132
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding', accessKeyVariable: 'AWS_ACCESS_KEY_ID', credentialsId: S3_STASH, secretKeyVariable: 'AWS_SECRET_ACCESS_KEY']]) {
@@ -69,7 +70,6 @@ pipeline {
6970
fi
7071
"""
7172
}
72-
script {
7373
START_NEW_BUILD = sh(returnStdout: true, script: "source startBuild; echo \${START_NEW_BUILD}").trim()
7474
BRANCH_NAME = sh(returnStdout: true, script: "source branch_commit_id_60.properties; echo \${BRANCH_NAME}").trim()
7575
COMMIT_ID = sh(returnStdout: true, script: "source branch_commit_id_60.properties; echo \${COMMIT_ID}").trim()

0 commit comments

Comments
 (0)