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

Wrong timing actions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None
    • Workflow master branch (1.10-SNAPSHOT)
      Launched with hpi:run

      This workflow script is generating wrong timing actions (timing action values taken from build/N/workflow/*.xml):

      Step TimingAction value echo logged time
      start=new Date()
      echo "STARTED $start" (1439200972584 -> 10:02:52 GMT) 10:02:31 GMT
      stage 'Checkout'
      start=new Date()
      echo "BEFORE GIT $start" (1439200972621 -> 10:02:52 GMT) 10:02:31 GMT
      git url: 'https://github.com/jenkinsci/workflow-plugin.git' (1439200972634 -> 10:02:52 GMT)
      end=new Date()
      echo "AFTER GIT $end" (1439200972648 -> 10:02:52 GMT) 10:02:52 GMT

      Logged dates and timing action values match when replacing the git step by a sleep step.

            amuniz Antonio Muñiz
            amuniz Antonio Muñiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: