Jenkins: Copy Artifacts/Files from one Jenkins job to Another job(Free style)

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

КОМЕНТАРІ • 10

  • @PriyankaSharma-wf7sg
    @PriyankaSharma-wf7sg 6 місяців тому

    Hi, Thanks for sharing this, I am working with jenkins as pipeline YAML how should I use copy artifact in multibranch approach ?

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

      Hi Priyanka..you can use copyArtifacts step in the pipelines to copy from other jobs..I didn't try for multi branch pipelines for this feature...I will let you know soon once I try this for multi branch pipelines.

  • @amansingh3347
    @amansingh3347 4 місяці тому

    Nice, clear cut info

  • @sitizarinahmohdyusof7592
    @sitizarinahmohdyusof7592 4 місяці тому

    May i know where is the Jenkins pipeline version?

  • @k.saibharadwaj1986
    @k.saibharadwaj1986 5 місяців тому

    Hi,i have a upstream meaven Jenkins job and i don't see archive artifacts option in the post build actions to specifiy which files to archive.This upstram project trigger downstream project and waits till it compleats.
    In the downstream In the copy artifacts plugin i want to use which builds option -"upstream job that triggered this build". When i use this option plugin is unable to copy the artifacts since the upstream job is not compleate yet and artifacts are not archived .
    What do i do now ?

    • @technologytheoryhandson863
      @technologytheoryhandson863  5 місяців тому

      For maven type jobs..Jenkins automatically archive the artifacts...this is why there is no separate step in post build section

  • @GiggleMasterr
    @GiggleMasterr 2 місяці тому

    Thanks man!