I'm working on some maven project in eclipse, and using Jazz source control. I made few build definitions , which run Ant script(build.xml).like this.
I've noticed that my build label('buildLabel' property - which consider built-in property - look here) is like yyyymmdd-nnnn. Where nnnn seems to be a number that look like the current time in the build machine.
regarding of that, I have few questions:
1) when this property first generated?
2) which timezone had been used there?
3) and from where exacly this timezone fetched?(any env variable?)
4) how can I change this time zone ? ( I mean, when this property first generating)
Thanks!
UPDATE #1:
Meanwhile I managed to find a work-around for changing the time zone(with my ant script).
First, I created new property with the UTC timezone:
<tstamp>
<format property="buildLabelNewTime" pattern="yyyyMMdd-hhmm" timezone="UTC"/>
</tstamp>
After that, I created new target to change the build label:
<target name="changeLabel" description="Change build label">
<buildResultPublisher repositoryAddress="${repositoryAddress}" userId="${USER_ID}" passwordFile="${PASSWORD_FILE}" buildResultUUID="${buildResultUUID}" label="${buildLabelNewTime}" />
</target>
Hope it'll help someone :)