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.

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

              Created:
              Updated:
              Resolved: