Access to currentBuild.getStartTime in Jenkins Workflow

XMLWordPrintable

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor
    • Component/s: pipeline
    • None
    • Environment:
      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

            Assignee:
            Jesse Glick
            Reporter:
            Metin OSMAN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: