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
Geoff Cummings
added a comment - Added first pass at this in the following pull request: https://github.com/jenkinsci/tracking-git-plugin/pull/1/
current state: Not pretty but it works
so please provide feedback and advice...
Unassigned
Geoff Cummings
Votes:
0Vote for this issue
Watchers:
1Start watching this issue
Created:
Updated:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
Added first pass at this in the following pull request: https://github.com/jenkinsci/tracking-git-plugin/pull/1/
current state: Not pretty but it works
so please provide feedback and advice...