I have a multi-branch pipeline project set up to build some libraries. I want to use the generated artifacts from this pipeline in a subsequent project which is also a multi-branch pipeline. However, in the second project, I would like to copy the artifacts from the first project where the branch names match, or default to master if there is no such matching branch.
For example, Project 1 has branches called master, and feature1. Project 2 has branches named master, feature1 and feature2. I would like to set up the pipeline for Project2 to pull artifacts from master for its master and project2 builds, but from project1 for its project1 build. Is this something that's easily doable with the current pipeline system? I think I may be able to use the Copy Artifact Plugin to do part of this, but I'm not sure how I'd set up the fallback case where the preceding project's branch doesn't match the current project's branch. Thanks! Tom -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/92074725-03a3-428d-9732-94fc8972ee14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
