Environment Variables BUILD_ID and BUILD_NUMBER now return the same value

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      With this release jenkins changed the build identifier to the build number (instead of timestamp). Now the BUILD_NUMBER and BUILD_ID both return the build number and there is no way to get the timestamp from the environment variables.
      According to the documentation BUILD_ID should return the timestamp.

      BUILD_ID
      The current build id, such as "2005-08-22_23-59-59" (YYYY-MM-DD_hh-mm-ss)

      Possible fixes:

      • Change BUILD_ID to return the timestamp
      • Add Env-Var BUILD_TIMESTAMP or similar

            Assignee:
            Jesse Glick
            Reporter:
            David Sommer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: