Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20620

Add variable with stage information during build time

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem

      As an admin some times I need to identify the stage details during build time. This information is not available through build variables, requiring a call to

      ${bambooUrl}/rest/api/latest/search/jobs/${planKey}?searchTerm=${jobName}
      

      Calling a rest API to get this information does not seem to be the best approach and even requires extra steps on filtering the results.

      Suggested solution

      Provide a variable that shares what is the stage name of the given build job running.

              Unassigned Unassigned
              dsantos Daniel Santos (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: