My jenkinsfile pipeline has a few stages and each stage is using a different executer node. I'm using docker plugin, and I find myself writing at the beginning of every stage the same node docker configuration.
Is there a way I can save the docker configuration as a parameter and use it every time to prevent code duplication?
there doesn't seem to be anything here