我有一个有点独特的设置,我需要能够动态加载位于我正在构建的src之外的Jenkinsfile。Jenkinsfiles文件本身通常调用node(),然后调用一些构建步骤。这会导致多个执行器不必要地被占用,因为我需要已经调用node()来使用load步骤来运行Jenkinsfile,或者如果我将Jenkinsfile作为字符串读取并执行它,则需要执行groovy。"
} 加载的Jenkinsfile通常也会调用node()。to surround the code with a step that provides
在参数化管道进行修改后,是否可以动态地得到这些参数化管道的变化?properties([ string(name: 'TARGET_HOST', defaultValue: 'test', description: 'Host on which artifact will be deployed'),
string(name: 'ARTIFACT_ID', defaultValue: 'te