diff --git a/Jenkinsfile b/Jenkinsfile index e0aede6da7..fd7828dffd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -266,7 +266,7 @@ exit $status } // we dont publish snapshots to bintray - if (! version ==~ /.*-SNAPSHOT/) { + if (! (version ==~ /.*-SNAPSHOT/)) { stage(stage_name + 'Prepare') { sh './gradlew --no-daemon --parallel clean assemble'