Relative Content

Tag Archive for jenkinsgroovyjenkins-pipelinepipelinejenkins-groovy

Set local variables from YAML files in a Jenkins Pipeline parallel block

I have Jenkins Groovy running declarative Pipeline with a parallel block. The parallel stages run on different agents with different build processes. I want my Groovy to load variables from YAML files stored in the code bases, for use in the shell scripts that run the builds. And the variables need to be set differently for the different agents.