Issue Type: Improvement Improvement
Assignee: rsandell
Components: gerrit-trigger-plugin
Created: 09/Dec/14 9:53 PM
Description:

2.12 added the "Other jobs on which this job depends" feature. The triggering works well. But our dependent job also needs files from the upstream/producer job. Copying those can be done with the copy-artifact plugin. But for it to be able to copy it from the correct job it needs to know the job number of the upstream/producer job. Thus it would be nice if the gerrit-trigger-plugin would provide a variable or permalink which contained the job(id) of the upstream job. Given that there could be multiple upstream jobs this variable could be called GERRIT_UPSTREAM_{upstream-job-name}. If instead of a variable this information is provided by a link, the link would need to contain the change-id, patcheset-revision or refspec so that one could get the job id as a function of either of those informations. I tried to look whether there is already some remote API like this but I could find whether anything like this is already there. Sorry if I missed it.

Project: Jenkins
Priority: Major Major
Reporter: Roland Schulz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" 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/d/optout.

Reply via email to