How to wait for user input in a Declarative Pipeline without blocking a heavyweight executor

前端 未结 5 905
执念已碎
执念已碎 2021-02-05 03:25

I\'m rebuilding an existing build pipeline as a jenkins declarative pipeline (multi-branch-pipeline) and have a problem handling build propagation.

After packaging and s

5条回答
  •  天命终不由人
    2021-02-05 04:02

    use agent none on top and define agent for every stage except the stage including the input step.

    source: discussion in Use a lightweight executor for a declarative pipeline stage (agent none)

    Updated: what do you mean by "the git checkout is not present on the first node"? please show what you've got so far for the declarative pipeline.

提交回复
热议问题