Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Unassigned
Components: tracking-git
Created: 02/Jul/14 3:25 PM
Description:

Hi,

I would like to be able to use a build parameter to choose which build of the project to track instead of only the lastSuccessful, lastFailed etc...

example configuration:

Create project_B,
Add RunParameter

  • Name: VERSION_TO_BUILD
  • Project: Project_A
  • Filter: Stable Builds Only

Enable Track Git source of another project.

  • Project to Track: Project_A
  • Build to Track: By Number
  • Build Number: $VERSION_TO_BUILD_NUMBER

Behaviour

When I click Build on Project B I will be shown a dropdown containing a list of Stable builds for project_A.
I select one of the builds, lets say #10, and click Build.

Run parameter plugin will populate the environment variable
VERSION_TO_BUILD_NUMBER = 10

the Tracking Git plugin will resolve the $VERSION_TO_BUILD_NUMBER and track Project A build #10

thanks
Geoff

Project: Jenkins
Priority: Major Major
Reporter: Geoff Cummings
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