Setting HP_RUN_ID only works if the build is not parameterized. If it is parameterized, HP_RUN_ID does not get passed to subsequent Ant scripts.

      For it to work with parameterized builds also, you need to check for existing string parameters, merge in the new one, and replace the existing parameters.

      See the attached patch for a fix.

      thanks

          [JENKINS-34821] HP_RUN_ID not available in parameterized builds

          John Gregg created issue -
          Christopher Orr made changes -
          Labels New: security-170
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171012 ] New: JNJira + In-Review [ 184125 ]
          Tal Abramovich made changes -
          Assignee Original: Ofir Shaked [ ofirshaked ] New: Yafim Kazak [ yafim_kazak ]
          Yafim Kazak made changes -
          Link New: This issue is related to JENKINS-39654 [ JENKINS-39654 ]
          Yafim Kazak made changes -
          Assignee Original: Yafim Kazak [ yafim_kazak ] New: Hanan Bem [ bemh ]
          Yafim Kazak made changes -
          Labels Original: security-170 New: PerformanceCenter security-170
          Yafim Kazak made changes -
          Link Original: This issue is related to JENKINS-39654 [ JENKINS-39654 ]
          Hanan Bem made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            bemh Hanan Bem
            john_gregg John Gregg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: