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

Expose build environment variables to notification templates

    • 0
    • 3
    • 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.

      When running a build, Bamboo provides several variables that can be access by "${bamboo.sth}" based on the Bamboo Variables documentation.

      The environment variables available to your job can be seen by adding a Script task with:

      # if Windows, uncomment the following line by removing the hash (#) character
      #set
      
      # if Linux, uncomment the following line by removing the hash (#) character
      #env
      

      There are variables that are not exposed to the notification templates. An example would be a variable that holds the Build Working Directory (i.e.: ${bamboo.working.directory}).

      Please, update the documentation by providing with a list of variables that are available to the notification templates.

              Unassigned Unassigned
              rsperafico Rafael Sperafico (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: