Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-447

Artifactory spec from File ignors variable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6.1
    • Labels:
      None

      Description

      Environment:
      Bamboo 6.5.1
      Artifactory plugin version 2.5.1

      When entering the spec. into a json file and selecting "File" in the dropdown for "Upload spec source", the build goes green but nothing is pushed to Artifactory. It appears that the Bamboo variable for the home directory is no expanded.

      When entering the same spec into the Bamboo task GUI after selecting "Job Configuration" in the dropdown for "Upload spec source", the build goes green and the artifact is uploaded to Artifactory.

      Spec content:
      {
      "files": [
      {
      "pattern": "${bamboo.build.working.directory}/projectname/build/filename",
      "target": "artifactorypath/build/filename"
      }
      ]
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalb Eyal Ben Moshe
                Reporter:
                slindqvist Sven-Olov Lindqvist
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: