Access to currentBuild.getStartTime in Jenkins Workflow

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi,

      my application version number relies on the build start time.
      I need to set up a BUILD_TIMESTAMP variable at the beginning of my workflow.

      It will be more convenient to give access to the currentBuild.getStartTime instead of/beside currentBuild.getStartTimeInMillis, so I can then format it directly.

      Thanks

            Assignee:
            Jesse Glick
            Reporter:
            Metin OSMAN
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: