How To Configure Upstream and Downstream Jobs in Jenkins

แชร์
ฝัง

ความคิดเห็น • 7

  • @frankleja8567
    @frankleja8567 ปีที่แล้ว

    Can and if yes, how can this Jenkins feature be used to orchestrat one or several downstream jobs, combine them all together at the end? For example, havng 3 apps sharing some common modules and a job the integration tests over all 3 modules in the middle of the stream?

    • @RomaRapoport
      @RomaRapoport 10 หลายเดือนก่อน

      trigger all 3 from 1 upstream job, save the handlers in some map, then after all done, iterate overthem and parse data you need e.g result,artifacts etc

  • @ShahzaibSukhera-g1h
    @ShahzaibSukhera-g1h 9 หลายเดือนก่อน

    Hey! please make video in this ERROR" A problem occurred while processing the request
    Logging ID=cb868be8-fe9b-4866-b57d-bed7d46e8dae" . This error is held when apply and save any jenkins job.

  • @jackrockyoum
    @jackrockyoum 2 ปีที่แล้ว

    Thank you for this video @CloudBeesTV ! can you pls guide on passing parameter to upstream job . If I want to trigger job 2 when job 1 completes with some output . and i want to pass that output as input parameter to job 2.

    • @RomaRapoport
      @RomaRapoport 2 ปีที่แล้ว

      you can trigger a job with build step from upstream job and pass params to it.

    • @yousufturkey9273
      @yousufturkey9273 10 หลายเดือนก่อน

      ​@@RomaRapoport That is the question I was looking for, in this case, the problem is we need to have two agents and to work with 1 agent I think the solution would be to push parameters on the repo and then as shared in the video we can watch the upstream job and pull the parameters in some form or shape from the repo.

    • @RomaRapoport
      @RomaRapoport 10 หลายเดือนก่อน

      you can work with 1 agent and 2 executors, just make sure thye dont share WS, also if upstream job doesnt need to continue it can trigger the downstream job and finishw tihotu waitinf on same agent, and also you can configure job 2 to be a listener on job 1 and trigger when it finishes only@@yousufturkey9273