-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
unix
Job DSL boolean operators in singleConditionalBuilder do not work. they appear to pick up incorrect classes
ERROR: (seed_job.groovy, line 298) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.and() is applicable for argument types: (seed_job$_freestyle_closure6$_closure59$_closure69$_closure71$_closure74, seed_job$_freestyle_closure6$_closure59$_closure69$_closure71$_closure75) values: [seed_job$_freestyle_closure6$_closure59$_closure69$_closure71$_closure74@78db9567, ...]
`
singleConditionalBuilder {
condition {
and {
status('ABORTED', 'FAILURE')
} {
not {
fileExists('script.sh', BaseDir.WORKSPACE)
}
}
}
runner
buildStep {
shell
}
}
`