0
I’ve got two Jenkins (A and B). What I need is that job A, after finishing, start the job execution B. Since I need a user’s approval for this to happen.
//algo do tipo
executarJobB = input(
message: "Devo iniciar o job B",
ok: "Encadear",
submitterParameter: 'executarJobB')
if (executarJobB) {
build job: "B", parameters: [[$class: 'String', name: 'image', value: $image ]]
}
- How can I do that?
- How to execute this code after the pipeline
Ahave been successfully executed?