repoType = ''
bbb = 'Goodbye all!'
ccc = 'Hello Mars!'
def validateVariable(variable) {
this.binding.variables.each { var ->
if (var.value == null || var.value.toString().trim().isEmpty())
println "$var.key"
}
return true
}
validateVariable(repoType)
cmVwb1R5cGUgPSAnJwpiYmIgPSAnR29vZGJ5ZSBhbGwhJwpjY2MgPSAnSGVsbG8gTWFycyEnCgoKZGVmIHZhbGlkYXRlVmFyaWFibGUodmFyaWFibGUpIHsKCXRoaXMuYmluZGluZy52YXJpYWJsZXMuZWFjaCB7IHZhciAtPgoJCWlmICh2YXIudmFsdWUgPT0gbnVsbCB8fCB2YXIudmFsdWUudG9TdHJpbmcoKS50cmltKCkuaXNFbXB0eSgpKQoJCSAgIHByaW50bG4gIiR2YXIua2V5IgoJCX0KICAgIHJldHVybiB0cnVlCn0KCgp2YWxpZGF0ZVZhcmlhYmxlKHJlcG9UeXBlKQ==