Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56279

System configuration does not affect timestamp in pipeline

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • promoted-builds-plugin
    • 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.

          [JENKINS-56279] System configuration does not affect timestamp in pipeline

          Devin Nusbaum added a comment -

          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.

          Devin Nusbaum added a comment - 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.

            Unassigned Unassigned
            wlaszlo William Laszlo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: