-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Promoted Builds Plugin: 3.2
Jenkins 2.165
Add an exact example for how "Date format" and "Time zone" should be used, not the whole documentation for two java classes.
I tried a lot of values for those inputs but I didn't saw any change.
Looks like that functionality was added in https://github.com/jenkinsci/promoted-builds-plugin/pull/86 as part of
JENKINS-33147, maybe you can figure out what is happening from those links. From what I can tell it looks like it allows you to specify the format that will be used for the PROMOTED_TIMESTAMP environment variable inside of a promotion job using the syntax supported by Java's SimpleDataFormat class. I think this is the relevant code.Feel free to submit a pull request to update help-timeZone.html or help-dateFormat.html to improve the documentation if you can figure out how it works or why it wasn't working for you.