diff --git a/Jenkinsfile b/Jenkinsfile index 31215644..7baeba7b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,6 @@ pipeline { echo "${params.release}" echo "`${params.release} == true`" echo "`${params.release} == 'true'`" - sh "test ${params.release} = 'true'" } } @@ -23,7 +22,7 @@ pipeline { // } stage("Publish release") { when { - "${params.release}" == true + $params.release == true } steps { sh "./gradlew javadoc >/dev/null"