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

Access to currentBuild.getStartTime in Jenkins Workflow

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • pipeline
    • None
    • workflow-plugin 1.5

      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

            jglick Jesse Glick
            mrcitron Metin OSMAN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: