Am 10.07.2013 16:24, schrieb Marcin Zajączkowski:
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.


I dont think it's very "artificial", acutally it would be helpful if you know which version exactly has Job S tested. We generate a metadata file in job B and copy this artifact as "identifier" to all related jobs, so we can identify which job is doing something with which build.

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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to