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

env-vars.html BUILD_ID documentation is incorrect

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None
    • Jenkins ver. 1.598

      JENKINS-24380 changed the build id to be just the number. This makes the $BUILD_ID the same as $BUILD_NUMBER, but when I click on the "See the list of available environment variables" link under the "command" (in the "Execute Shell" build step) it loads a page called "/env-vars.html/", which still says $BUILD_ID is a date.

      This should be fixed. And possibly either $BUILD_ID or $BUILD_NUMBER should be obsoleted, since they are identical now. Or the docs should let me know why I should use one or the other.

      Also, is there a new env. variable for the date? (I only noticed all this after the new $BUILD_ID format caused bugs in my other scripts which were expecting a date).

          [JENKINS-26772] env-vars.html BUILD_ID documentation is incorrect

          David Caldwell created issue -

          Daniel Beck added a comment -

          Duplicates JENKINS-26520.

          Daniel Beck added a comment - Duplicates JENKINS-26520 .
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-26520 [ JENKINS-26520 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160943 ] New: JNJira + In-Review [ 196591 ]

            Unassigned Unassigned
            __david__ David Caldwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: