-
Bug
-
Resolution: Duplicate
-
Minor
-
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).
- duplicates
-
JENKINS-26520 Environment Variables BUILD_ID and BUILD_NUMBER now return the same value
- Resolved