'How to fix "Only one pipeline { ... } block can be executed in a single run." error
I am trying to invoke a scripted pipeline twice based on input parameters passed. The initial groovy script processes the parameters and then when I try to invoke the call() method containing the pipeline from the first groovy script twice it gives me an error "Only one pipeline { ... } block can be executed in a single run." error.
pipelineObject.call("arg1") pipelineObject.call("arg2")
Is there a way I can invoke that pipeline twice without encountering this error?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
