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

Date formatting should be UTC in accumulated msg (Praqma case 13299)

XMLWordPrintable

      There is still minor problem when generating the accumulated commit message regarding the date stamp formatting.

      The time stamp is time zone dependent. See these two examples, from the test output:

      ************************************************************************

      • CustomIntegrationBranch.customIntegrationBranchAccumulatedStrategy test
      • Integration commit message:
        Accumulated commit of the following from branch 'origin/ready/myDevelopmentBranch':

      commit c1449e075f528974c63eef81109d0632eaada0c7
      Author: Praqma Support <support@praqma.net>
      Date: Wed Jun 3 08:03:46 2015 -0400

      Added a second line from myDevelopmentBranch in test commit log file.

      commit 70353ce6771866f29c38b4460b3f74f9024f8ce2
      Author: Praqma Support <support@praqma.net>
      Date: Wed Jun 3 08:03:45 2015 -0400

      Added line from myDevelopmentBranch in test commit log file.

      ************************************************************************

      ... from the following job: https://jenkins.ci.cloudbees.com/job/plugins/job/pretested-integration-plugin/org.jenkins-ci.plugins$pretested-integration/20/testReport/junit/org.jenkinsci.plugins.pretestedintegration.integration.scm.git/CustomIntegrationBranchIT/customIntegrationBranchAccumulatedStrategy/

      ************************************************************************

      • CustomIntegrationBranch.customIntegrationBranchAccumulatedStrategy test
      • Integration commit message:
        Squashed commit of the following:

      commit c1449e075f528974c63eef81109d0632eaada0c7
      Author: Praqma Support <support@praqma.net>
      Date: Wed Jun 3 14:03:46 2015 +0200

      Added a second line from myDevelopmentBranch in test commit log file.

      commit 70353ce6771866f29c38b4460b3f74f9024f8ce2
      Author: Praqma Support <support@praqma.net>
      Date: Wed Jun 3 14:03:45 2015 +0200

      Added line from myDevelopmentBranch in test commit log file.

      ************************************************************************

      ... from the following job:
      http://code.praqma.net/ci/view/Open%20Source%20Pipelines/view/Pretested%20Integration%20Plugin%20-%20build%20pipeline/job/pretested-integration-plugin_verify-from-Github-Praqma_master/18/consoleFull

      *Suggested solution* is to make timestamps in UTC time, denoting also they are UTC.

            praqma Praqma Support
            bue Bue Petersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: