Fixed brackets in jenkinsfile 2
test-org/prometheus-exporter/pipeline/pr-master This commit looks good
Details
test-org/prometheus-exporter/pipeline/pr-master This commit looks good
Details
parent
df8b603a01
commit
1efe122edf
|
|
@ -9,7 +9,7 @@ pipeline {
|
|||
stages {
|
||||
stage('Init variables') {
|
||||
when {
|
||||
expression{env.CHANGE_BRANCH?.startsWith('rc')}
|
||||
expression { env.CHANGE_BRANCH?.startsWith('rc') }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
|
|
@ -19,7 +19,7 @@ pipeline {
|
|||
}
|
||||
stage('Build tagged image and run tests') {
|
||||
when {
|
||||
expression(env.CHANGE_BRANCH?.startsWith('rc'))
|
||||
expression { env.CHANGE_BRANCH?.startsWith('rc') }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
|
|
|
|||
Loading…
Reference in New Issue