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

BUILD_NUMBER and probably other variables are cached

XMLWordPrintable

      Simple script:
      out.println("${BUILD_NUMBER}")

      Print always the same number of a build. It changes only if the script will be redeployed.

            michbu1 Michał Buda
            michbu1 Michał Buda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: