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

Download Artifact task does not seem to substitute variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.0.1
    • None
    • Artifacts, Deployments
    • None

    Description

      We had this task https://extranet-bamboo.internal.atlassian.com/build/admin/edit/editBuildTasks.action?buildKey=CRUCHG-WOOF-JOB1 configured with the following variable:

      • ${bamboo.fisheye.zip.dir}
        as the Destination path.

      The logs made me believe that the expanded value was being used:

      command	15-Jul-2013 15:00:07	Substituting variable: ${bamboo.fisheye.zip.dir} with tmp/fisheye-zip-dir
      simple	15-Jul-2013 15:00:07	Starting task 'Download Artifact' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
      simple	15-Jul-2013 15:00:07	Preparing to download plan result CRUCHG-DEFAULT-868 artifact: Shared artifact: [FishEye Zip], pattern: [fisheye-*.zip] anchored at: [target/wac/]
      simple	15-Jul-2013 15:00:25	Artifact [FishEye Zip] downloaded successfully in 17s
      simple	15-Jul-2013 15:00:25	Finished task 'Download Artifact'
      
      

      However the expanded value was not being used by the Task.

      Logging onto the agent showed that the task used the unsubstituted string as the path:

      npellow@agent-17-14:/opt/bamboo-agent/xml-data/build-dir/CRUCHG-WOOF-JOB1$ ls
      ${bamboo.fisheye.zip.dir}  upload.sh
      

      This should be a quick fix?

      BTW - this task is kinda essential for Continuous Deployment for us! Great stuff!!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              npellow Nick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: