Empty variables are removed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: copyartifact-plugin
    • None
    • Environment:
      Copyartifact 1.38

      1. Create a upstream project "upstream"
        • Execute shell
          echo ${BUILD_ID} > artifact.txt
          
        • Archive artifacts
          • Files to archive: artifact.txt
      2. Run "upstream"
      3. Create a upstream project "downstream"
        • Parameterize
          • String Parameter
            • Name: EMPTY
            • Default Value: (empty)
        • Copy artifact
          • Project: upstream${EMPTY}
      4. Run "downstream" with EMPTY=(empty)

      Expected result:

      • Copy artifacts from "upstream"

      Actual result:

      • Fails to copy from "upstream${EMPTY}"

            Assignee:
            ikedam
            Reporter:
            ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: