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

The COPYARTIFACT_BUILD_NUMBER environment variable returns the BUILD_DISPLAY_NAME (without "#"), instead of the BUILD_NUMBER

      Then Copyartifact plugin injected the environment variable COPYARTIFACT_BUILD_NUMBER<"from" project name> as BUILD_DISPLAY_NAME without the "#", instead of the BUILD_NAME.
      In the following example,
      The "from" project environment variables (called "ERGON_HADES_NG_X_GERARPACOTEXML")
      BUILD_DISPLAY_NAME #161
      BUILD_ID 149
      BUILD_NUMBER 149

      The project using the copyartifact plugin
      COPYARTIFACT_BUILD_NUMBER_ERGON_HADES_NG_X_GERARPACOTEXML=161

          [JENKINS-27237] The COPYARTIFACT_BUILD_NUMBER environment variable returns the BUILD_DISPLAY_NAME (without "#"), instead of the BUILD_NUMBER

          Renato Paschoalinoto created issue -
          Renato Paschoalinoto made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161438 ] New: JNJira + In-Review [ 208487 ]

            Unassigned Unassigned
            renatop Renato Paschoalinoto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: