]
Xavier Coulon reassigned JBIDE-22244:
-------------------------------------
Assignee: Max Rydahl Andersen
BZ-JIRA job configuration does not take timezones into account
--------------------------------------------------------------
Key: JBIDE-22244
URL:
https://issues.jboss.org/browse/JBIDE-22244
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build
Affects Versions: 4.3.1.Final
Reporter: Xavier Coulon
Assignee: Max Rydahl Andersen
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&chfie...
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-...