tracking-git: Use parameter or environment variable to specify which build to track

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: tracking-git-plugin
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Geoff Cummings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: