Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22244

BZ-JIRA job configuration does not take timezones into account

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 4.4.0.Alpha1
    • 4.3.1.Final
    • build
    • None

    Description

      it seems like the default HOURS value ('2') for the job that copies bugzilla issues into JIRA (in the ERT project) is not enough to catch the changes. This might be due to the timezones, since the script run by the job and the job itself do not use the same timezone.

      for example:

      • I created an issue in BZ: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492420 on 2016-04-26 03:07:04 EDT
      • I then manually kicked the job with the HOURS value set to 2 (Build #2073 - Apr 26, 2016 3:19:03 AM). (I assume the TZ is EDT here, too.)
      • The script output contains the following lines:
        code
        03:19:10 [DEBUG] Current datetime: 2016-04-26 07:19:09.521272 (UTC)

      03:19:10 [DEBUG] xmlrpc post:

      {'status_whiteboard': 'RHT', 'last_change_time': '2016-04-26 04:19'}

      03:19:10 [DEBUG] buglist get: https://bugs.eclipse.org/bugs/buglist.cgi?status_whiteboard=RHT&chfieldfrom=2016-04-26+04:19
      03:19:10 [DEBUG] Found 0 bugzillas to process
      code

      In the mean time, setting the HOURS value to '6', I was able to get the issue created in JIRA.

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-bzira/

      Attachments

        Activity

          People

            nickboldt Nick Boldt
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: