|
|
|
|
|
by a-saleh
3259 days ago
|
|
The reason why you can't use functional methods of Groovy in jenkins is, that the intepreter that runs inside of jenkins has been rebuild so that jenkins can suspend/resume the execution of the pipeline. This means that everything needs to be serializable, and that in reality you are not really executing groovy statements, but rather passing continuations. This is a reason why you have @NonCPS annotiation, that allows you to opt-out of that behavior. |
|
Why hasn't anyone developed a CI-orcherstration library yet? Is it actually a difficult problem?