Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36554

Empty variables are removed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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}"

        Attachments

          Activity

          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/copyartifact-plugin/pull/87
          Hide
          ikedam ikedam added a comment -

          Fixed with copyartifact-1.38.1.

          Show
          ikedam ikedam added a comment - Fixed with copyartifact-1.38.1.

            People

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

              Dates

              Created:
              Updated:
              Resolved: