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

bamboo.planRepository.previousRevision: bad substitution or command not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.8.1
    • 5.6.2
    • None
    • None

    Description

      Problem:

      When using the Bamboo generic repository variable bamboo.planRepository.previousRevision as described in Bamboo variables. The variable is assigned, however, it still trips Bamboo up.

      In 5.6.2

      We can see that the variable does become set but a "bad substitution" error is still received.

      command	19-Mar-2015 16:27:22	Substituting variable: ${bamboo.planRepository.previousRevision} with 878190
      ...
      error	20-Mar-2015 13:39:37	/tmp/RE-PD-PA-75-ScriptBuildTask-3098057124618524009.sh: line 1: ${bamboo.planRepository.previousRevision}: bad substitution
      
      In 5.8.1

      We can see that the variable does become set but a "command not found" error is still received.

      command	20-Mar-2015 16:19:16	Substituting variable: ${bamboo.planRepository.previousRevision} with f84965a08b038b606572fad46cff486a23e8977b
      ...
      error	20-Mar-2015 16:19:16	/Users/jamesgiles/Desktop/Bamboo/downloads/atlassian-bamboo-5.8.1/temp/CHIC-TP-JOB1-6-ScriptBuildTask-4424000656338587228.sh: line 1: f84965a08b038b606572fad46cff486a23e8977b: command not found
      

      Duplication steps:

      1. add Script Task to build plan
      2. add ${bamboo.planRepository.previousRevision}
      3. run build

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgiles@atlassian.com James Giles IV (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: