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

Empty variables are removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • copyartifact-plugin
    • None
    • 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}"

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

              Created:
              Updated:
              Resolved: