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

Some variables didn't work like they were documented

    XMLWordPrintable

Details

    Description

      Problem Description

      Some of the variables do not work in Bamboo despite it's documented in Bamboo Variables. Here are some of the variables that do not work.

      bamboo.shortPlanKey
      bamboo.shortPlanName
      

      It will return something similar like the following error message.

      /tmp/TPRO-PG-JOB1-35-ScriptBuildTask-2385598182076022059.sh: 2: /tmp/TPRO-PG-JOB1-35-ScriptBuildTask-2385598182076022059.sh: Bad substitution
      

      Steps to replicate

      1. Create a test Plan
      2. Create a script task in that plan, leave everything on default will do
      3. Put the following on the script text box
        echo ${bamboo.shortPlanKey}
        echo ${bamboo.shortPlanName}
        
      4. Save the task and run

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rjmasikome RianA
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: