|
@@ -23,14 +23,9 @@ pipeline {
|
|
|
}
|
|
|
}
|
|
|
stage("Update") {
|
|
|
- when {
|
|
|
- allOf {
|
|
|
- expression { service_update != null }
|
|
|
- expression { not service_update.empty }
|
|
|
- }
|
|
|
- }
|
|
|
+ when { expression { service_update != "" } }
|
|
|
steps {
|
|
|
- echo "Updating $service_update"
|
|
|
+ echo "Updating .$service_update."
|
|
|
script {
|
|
|
for (String item : service_update.split()) {
|
|
|
echo "Updating $item"
|