How To Configure Upstream and Downstream Jobs in Jenkins

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 7

  • @user-qw3vn2ll3y
    @user-qw3vn2ll3y 6 місяців тому

    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.

  • @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 6 місяців тому

      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

  • @jackrockyoum
    @jackrockyoum Рік тому

    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 Рік тому

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

    • @yousufturkey9273
      @yousufturkey9273 6 місяців тому

      ​@@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 6 місяців тому

      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