adop-jenkins icon indicating copy to clipboard operation
adop-jenkins copied to clipboard

Groovy scripts should have order of execution by priority

Open avoidik opened this issue 6 years ago • 1 comments

We have such example in Linux for init-scripts

Like: 01-adop_general.groovy 02-adop_ant.groovy ...

avoidik avatar Feb 15 '18 08:02 avoidik

Java classes cannot start with a number, and naming a groovy file will cause that to happen, breaking the script. If you prepend with an accepted, non-alphabetical character, you can get around that; something like _01-aop_general.groovy.

tsal avatar Aug 21 '19 14:08 tsal