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

Add variable with stage information during build time

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Variables
    • None
    • 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.

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsantos Daniel Santos
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: