For example, I will define all my containers in yaml and then I would like to make the container reference a variable.
stage("Build") { steps { script { container (${imageName}) { This will make it easier to template JenkinsFiles for multiple builds that require a separate image.