-
Bug
-
Resolution: Fixed
-
Major
-
None
With Jenkins 1.597, the environment variable BUILD_ID was changed from timestamp to the build number. The zentimestamp plugin can not alter the content of BUILD_ID anymore. A new environment variable should be introduced, like BUILD_TIMESTAMP. This can be modified by the plugin then.
- is blocking
-
JENKINS-29873 Zentimestamp should set BUILD_TIMESTAMP variable in any case
-
- Open
-
- is related to
-
JENKINS-26624 Content of BUILD_ID environment variable changed from timestamp to build number
-
- Resolved
-
-
JENKINS-24380 Use build numbers as IDs
-
- Resolved
-
-
JENKINS-26520 Environment Variables BUILD_ID and BUILD_NUMBER now return the same value
-
- Resolved
-
- links to
[JENKINS-26626] Zentimestamp plugin no longer compatible with Jenkins 1.597
Description |
Original:
As of version 3.0 the zen timestamp plugin appears to be no longer compatible with Hudson. I tested it in a stand alone Hudson instance (no additional plugins) against Hudson versions 2.2.0 and 2.1.0 and noticed that the BUILD_ID variable is not getting replaced by the correct pattern. I rolled back to version 2.2 of the plugin which appears to still be compatible with both versions of Hudson above. I did not see any errors in the logs when running projects with the plugin activated, only that the environment variable contained the original timestamp formatting. |
New: With Jenkins 1.597, the environment variable {{BUILD_ID}} was changed from timestamp to the build number. The {{zentimestamp}} plugin can not alter the content of {{BUILD_ID}} anymore. A new environment variable should be introduced, like {{BUILD_TIMESTAMP}}. This can be modified by the plugin then. |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
Remote Link | New: This issue links to "PR 1 (Web Link)" [ 12600 ] |
I'm using Jenkins 1.597 and BUILD_ID. Now, I'm forced to use ZenTimestamp plugin(3.3) to convert Build_ID from BUILD_NUMBER to YYYY-MM-DD_hh-mm-ss. Today (February 5th, 2005) , I found that the timestamp set to BUILD_ID is 2015-02-36_03-53-58. February doesn't have 36 days. Another incompatible issue?