I have quite a few build projects in jenkins (several projects with several branches each), I would like to include them for promotion (using the promotion plugin).
The promotion process will be almost the same for all different tasks. Therefore, I would not want to write all the stages of promotion in each of the assembly projects, but rather, have one advertising work that can promote them.
As I see it, the user will manually select and promote one assembly from any assembly project. assembly initiates a new assembly of advertising work, which extracts information from an advanced assembly and promotes it.
My problem is that I don't seem to see a way to extract artifacts from an advanced build.
If I use the copy artifact plugin, it forces me to select the upstream task, and I seem to be unable to write more than one. The help says that I can use the $ variables, but I donโt see how, since I donโt see the advanced assembly identifier among the environment variables.
I am sure that this can be solved, but I do not understand how to do it.
Does anyone have an idea?
thanks.
source share