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

Jenkins environment variables doesn't work in all textfields (report & log filenames)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • robot-plugin
    • None
    • Jenkins 1.590
      Robot-plugin 1.61
    • 2.2.0

      "All text fields support the use of environment variables available during build, e.g:

      ${BUILD_NUMBER}

      JENKINS-9078

      When trying to use for example

      ${BUILD_NUMBER}_log.html

      for log file the result is that the filename is shown also that way

      ${BUILD_NUMBER}_log.html

      instead of "40_log.html".

        1. pc1.png
          pc1.png
          79 kB
        2. pc2.png
          pc2.png
          26 kB

          [JENKINS-30236] Jenkins environment variables doesn't work in all textfields (report & log filenames)

          Jussi Malinen added a comment -

          Okay, clearly a bug or at least a reasonable enhancement. I wont have time to look at this any time soon, unless someone at Nokia (the sponsor) requests this, but pull requests are welcome!

          Jussi Malinen added a comment - Okay, clearly a bug or at least a reasonable enhancement. I wont have time to look at this any time soon, unless someone at Nokia (the sponsor) requests this, but pull requests are welcome!

          A fix for this annoying bug would be highly appreciated.

          Anders Bergsten added a comment - A fix for this annoying bug would be highly appreciated.

          Aleksi Simell added a comment -

          I know this is an old issue, but I managed to reproduce this. This bug is only visible in freestyle jobs. I'll take a look how the freestyle jobs and pipeline jobs differ in this config and try to (finally) fix this.

          Aleksi Simell added a comment - I know this is an old issue, but I managed to reproduce this. This bug is only visible in freestyle jobs. I'll take a look how the freestyle jobs and pipeline jobs differ in this config and try to (finally) fix this.

          Aleksi Simell added a comment -

          Aleksi Simell added a comment - https://github.com/jenkinsci/robot-plugin/pull/36 created.

          Aleksi Simell added a comment -

          PR merged.

          Aleksi Simell added a comment - PR merged.

            aleksisimell Aleksi Simell
            molsky Petri M
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: