build - Two Jenkins: Await remotely triggered job -


i'm using 2 jenkins machines (v.1.651.1) - 1 on mac lets call 1 jenkins a job a , other windows machine jenkins b job b.

main entry point @ jenkins job triggered. job builds something, puts on shared network directory , triggers job b on jenkins b via remote api. job b continues building independently.

in meantime job b acquiring intermediate files network share , starts building something, too. if goes wrong here - stop job via remote api.

i'm wondering if there way implement wait @ job turns successfull if job b has been finalized.

multijob plugin seems i'm looking for, doesn't work on multiple jenkins instances, right?

you make master - slave jenkins.

  • mac machine: master

  • windows machine: slave

just notice jenkins web gui on mac machine. install "cloudbees build flow plugin".

you can split job if want. have 3 jobs.

  • job a1 : builds something, puts on shared network directory.

  • job b: building independently.

  • job a2: need here?

create build flow job this:

build("job a1") build("job b") build("job a2")


Comments