Accenture / adop-jenkins

Apache License 2.0
153 stars 129 forks source link

Groovy scripts should have order of execution by priority #51

Open avoidik opened 6 years ago

avoidik commented 6 years ago

We have such example in Linux for init-scripts

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

tsal commented 5 years ago

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.