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

Promoted builds not picking up injected env settings as of 2.17 (2.15 is ok)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • promoted-builds-plugin
    • None
    • Linux xxxx 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
      jenkins 1.553

      Promoted build action to copy files into a releases folder using this path:

      /u0/releases/Server/${BRANCH}/QA/${PROMOTED_NUMBER}

      works fine in 2.15, promotion log shows:

      [SCP] uploading file: '/home/jenkins/releases/Server/develop/QA/397/CHANGES'
      [SCP] uploading file: '/home/jenkins/releases/Server/develop/QA/397/Packages.gz'

      and fails to replace the ${BRANCH} env token when using 2.17:

      [SCP] uploading file: '/home/jenkins/releases/Server/${BRANCH}/QA/390/CHANGES'
      [SCP] uploading file: '/home/jenkins/releases/Server/${BRANCH}/QA/390/Packages.gz'

      Note that ${BRANCH} is not being replaced by "develop"

            Unassigned Unassigned
            bedge Bruce Edge
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: