| Disclaimer: I'm not by any chance a GDSL/Jenkins/Pipeline/Java/Groovy expert Using a bit of common sense and a lot of Google/copy paste I was able to generate the following script that supports declarative pipelines as to the knowledge that I currently have: https://gist.github.com/ggarcia24/fc5acec3288812b34c64a4f2b8f9bca9 Hoping to get a little bit of feedback and then perhaps create a PR using the code from the file posted above to generate a new one. Hope it can help someone  Gonzalo G. |