Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Externalize the Build Folder Timestamp Format #314

Merged

Conversation

donnellt
Copy link
Contributor

Currently in zAppBuild the timestamp used to construct the build folder is in 12 hour format. Clients have complained that this 12 hour format makes it difficult to sort the build output folders in chronological order. They would like the timestamp to be in 24 hour clock.

This update will create a new property in the build.properties file called buildOutputTSformat that will allow the client set the Date format method pattern string to what ever format they desire. The default value for this new property will be set to yyyyMMdd.HHhmmss.mmm to represent 24 hour format. This only applies to the build folder timestamp and build results entry name.

Within build.groovy a ** Build start at [timestamp] message is emitted with a timestamp format in 12 hour format. This will not change so as not to impact any client-side automation.

If the new buildOutputTSformat property is not set (or blank), then the timestamp of the build folder will be set to the hardcoded format currently found in build.groovy.

Signed-off-by: Timothy L. Donnelly <donnellt@us.ibm.com>
@dennis-behm dennis-behm merged commit 21ed56e into IBM:develop Jan 13, 2023
@donnellt donnellt deleted the Externalize_Build_Folder_Timestamp_Format branch January 13, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants