The easiest way is to copy one of the artifacts. I usually have an artifact 
which is a small file containing the output of "git describe". Because the file 
is small, it is quick to copy and fingerprint and can be used to link builds.

-- Sami

Marcin Zajączkowski <[email protected]> kirjoitti 10.7.2013 kello 17.24:

> Hi,
> 
> I'm currently playing with Promoted Build plugin in the pipeline managed by 
> Build Flow plugin.
> 
> In a simplified form I have three jobs (called from the master job using 
> Build Flow plugin):
> - a normal build of a project - job B
> - a deploy WAR artifact to a remote Tomcat - job D
> - a smoke testing runs against a remote Tomcat (with deployed app) - job S
> 
> I would like to promote a WAR built in a B job when it passes a smoke testing 
> (S).
> 
> The issue is that there is no relationship between B and other jobs (they are 
> triggered through a pipeline with a concrete B build specified as a 
> parameter). D uses artifacts from B (by Copy artifacts plugin), but S not. I 
> could copy artifacts from B or D to S, but it is very artificial - I don't 
> need them (and have performance drawbacks). I could also try to write some 
> Groovy code similar to the one used in FingerprintingCopyMethod in Copy 
> Artifacts plugin.
> 
> What is the easiest way to tell Jenkins (Promoted Build plugin) that given 
> artifact (fingerprint) is used by a specific build?
> 
> Marcin
> 
> -- 
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to