Re: CruiseControl Date of build in GMT
"Hahn, Christopher (SAN DIEGO)" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <92606B0A2E9C0D418FECE7F5B393756C5B771258A6@GVW0432EXB.americas.hpqcorp.net> |
Cool. ....but did CC switch from using GMT to something else (local locale?) at some point along the way. What I mean is that we do *not* use "-Duser.timezone=GMT" on the systems in question. ...instead they seem to be older (2.7) versions of CC. Anyway, thank you for a very simple tek to try. Chris From: Vogtle, John [mailto:[email protected]] Sent: Wednesday, May 04, 2011 1:23 PM To: [email protected] Subject: Re: [Cruisecontrol-user] CruiseControl Date of build in GMT Unless Cruise is doing something strange under the hood, you can override the timezone when you start Cruisecontrol up: * java -Duser.timezone=EST <other cruise startup> See: http://www.techrepublic.com/article/override-a-java-applications-time-zone/5815391 -John John M. Vogtle|Bank of America|Strategy & Shared Services: SD CoE|Consumer Channels Technology|585.265.3694| From: Hahn, Christopher (SAN DIEGO) [mailto:[email protected]] Sent: Wednesday, May 04, 2011 4:14 PM To: [email protected] Subject: Re: [Cruisecontrol-user] CruiseControl Date of build in GMT Windows Server. From: Julian Simpson [mailto:[email protected]] Sent: Wednesday, May 04, 2011 12:52 PM To: [email protected] Subject: Re: [Cruisecontrol-user] CruiseControl Date of build in GMT On 4 May 2011 18:50, Bryan Salter <[email protected]<mailto:[email protected]>> wrote: huh? I just want the Date of build field to be in EST instead of in GMT. What Operating System do you run CruiseControl on? J. Thanks Bryan Salter Configuration Engineer/Senior Programmer Analyst L.L. Bean Cell (207)317-6453 Office (207)552-2916 ________________________________ From: Hahn, Christopher (SAN DIEGO) [mailto:[email protected]<mailto:[email protected]>] Sent: Wednesday, May 04, 2011 2:37 PM To: [email protected]<mailto:[email protected]> Subject: Re: [Cruisecontrol-user] CruiseControl Date of build in GMT Hello all, We noticed this and sent the proper flag into the POSIX based calls that we are using to compute the duration of our builds: my $now = Mktime( Today_and_Now($useGmt) ); $buildTime = $now - $startTime; (The variable $useGMT is defined as a true value, in the perl sense on systems whose CC instance we know are using GMT ) Look up Mktime for more info. Take care, Christopher From: Bryan Salter [mailto:[email protected]<mailto:[email protected]>] Sent: Wednesday, May 04, 2011 10:41 AM To: [email protected]<mailto:[email protected]> Subject: [Cruisecontrol-user] CruiseControl Date of build in GMT How do I change the CruiseControl "Date of build" from GMT to EST? Thanks Bryan Salter ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Cruisecontrol-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Julian Simpson The Build Doctor Ltd. http://www.build-doctor.com [email protected]<mailto:[email protected]> (+44) 207 183 0323 ________________________________ This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user