fork download
  1. repoType = ''
  2. bbb = 'Goodbye all!'
  3. ccc = 'Hello Mars!'
  4.  
  5.  
  6. def validateVariable(variable) {
  7. this.binding.variables.each { var ->
  8. if (var.value == null || var.value.toString().trim().isEmpty())
  9. println "$var.key"
  10. }
  11. return true
  12. }
  13.  
  14.  
  15. validateVariable(repoType)
Success #stdin #stdout 2.05s 140564KB
stdin
Standard input is empty
stdout
repoType