Merge "Fix working with user input in update pipeline"
diff --git a/update-package.groovy b/update-package.groovy
index b17eb01..d3873ec 100644
--- a/update-package.groovy
+++ b/update-package.groovy
@@ -67,8 +67,8 @@
id: 'userInput', message: 'Insert package names for update', parameters: [
[$class: 'TextParameterDefinition', defaultValue: '', description: 'Package names (or *)', name: 'packages']
])
- if(userInput['packages'] != ""){
- packages = userInput['packages'].tokenize(" ")
+ if(userInput!= ""){
+ packages = userInput.tokenize(" ")
}
}
}else{