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

${system.PATH} or ${system.ALLUSERSPROFILE} variables are not being replaced

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 2.7.1, 3.0 i1, 3.0
    • 2.6.3
    • Builds
    • None
    • Bamboo Version 2.6.3 build 1904 - 30 Sep 10
      Bamboo agent running on Windows XP

      • I have a builder argument that uses ${system.ALLUSERSPROFILE} but now it is not being replaced by the %ALLUSERSPROFILE% environment variable
      • I also add extra paths to the default PATH environment variable using the following
      PATH=${system.PATH};tools/bin
      

      but the ${system.PATH} variable is also not being replaced

            [BAM-7299] ${system.PATH} or ${system.ALLUSERSPROFILE} variables are not being replaced

            Bulkan,

            It seems that I've provided you with unverified information. There would be no version 2.6.4, so the best way to get this fixed is upgrading to 2.7.

            Krystian Brazulewicz added a comment - Bulkan, It seems that I've provided you with unverified information. There would be no version 2.6.4, so the best way to get this fixed is upgrading to 2.7.

            Renan is right. This problem has already been fixed in version 2.7: http://jira.atlassian.com/browse/BAM-6529.
            I've backported it to branch 2.6 so it would be available in 2.6.4

            Krystian Brazulewicz added a comment - Renan is right. This problem has already been fixed in version 2.7: http://jira.atlassian.com/browse/BAM-6529 . I've backported it to branch 2.6 so it would be available in 2.6.4

            Hi Bulkan,

            I was able to reproduce the problem with the system.PATH in 2.6.X versions. However it seems that it is working fine on Bamboo 2.7.X.

            Would you confirm if this also works for you?

            Renan Battaglin added a comment - Hi Bulkan, I was able to reproduce the problem with the system.PATH in 2.6.X versions. However it seems that it is working fine on Bamboo 2.7.X. Would you confirm if this also works for you?

            Hi Krystian,

            • The plan uses a "Script" builder
            • The variable ${system.ALLUSERSPROFILE} appears in the Argument field
            • The ${system.PATH} variable is used in the System Environment Variable field

            Bulkan Evcimen added a comment - Hi Krystian, The plan uses a "Script" builder The variable ${system.ALLUSERSPROFILE} appears in the Argument field The ${system.PATH} variable is used in the System Environment Variable field

            Hello Bulkan

            Please provide more information on your plan configuration:

            • what builder is your plan using
            • in which fields of builder configuration have you used ${system.PATH} and ${system.ALLUSERSPROFILE} variables?

            Krystian Brazulewicz added a comment - Hello Bulkan Please provide more information on your plan configuration: what builder is your plan using in which fields of builder configuration have you used ${system.PATH} and ${system.ALLUSERSPROFILE} variables?

              kbrazulewicz Krystian Brazulewicz
              9bfa9ae328bc Bulkan Evcimen
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: