@@ -17,7 +17,7 @@ pipeline {
stages {
stage("Build") {
when {
- expression not { build_repo == null || build_repo.empty }
+ expression { build_repo != null || not build_repo.empty }
}
steps {
echo "Building with repo $build_repo and updating $service_update"