Jump to content

have problem with date format


Gi-hong Kim

Recommended Posts

Hello

This is Gi-hong Kim from Samsung Medison.

 

I have a some problem with Plastic SCM. So I created a new topic about it

I manage some of build system(server). there are installed jenkins and plastic scm plug-in.

Some of that have a problem with plug-in.

When i try source update on jenkins, some error occurred.

 - Error MSG -

FATAL: Parse error: Error at line 17 char 37: Unparseable date: "23-03-2017 16:10:15"

 

I cought difference on build output with another server that well-operating

 *** It's Problem Server's Date format ***
<DATE>23-03-2017 16:42:56</DATE>

 

*** It's Well-Operating Server's Date Format ***

<PLASTICQUERY>
  <REVISION>
    <ID>1234</ID>
    <COMMENT></COMMENT>
    <DATE>2017-03-21T17:34:34</DATE>

 

 

I tried Change Plastic.conf file at ...\Appdata\Local\plastic4\client.conf and add below data.

<FindOutputDateFormat>dd'/'MM'/'yyyy HH':'mm':'ss</FindOutputDateFormat>

 

But same error occurred.

I want to change date for mat to 'YYYY-MM-DDThh:mm.ss'

 

How can i solve this problem.

 

Please. give me a solution ASAP.

 

Regards

Gi-hong Kim

 

---------------------------------------------------------------------------

Gihong Kim

gi-hong.kim@samsungmedison.com

----------------------------------------------------------------------------

 

 

 

Link to comment
Share on other sites

Hello,

I think the problem is the "client.conf" you are modifying refers to a different user than the user who runs the Jenkins service. To be sure that all the machine users use the same client configuration, please copy the "client.conf" file into the "client" binaries folder ("C:\Program Files\PlasticSCM5\client").

Then you can use the next field to customize the date format as you request:

 <FindOutputDateFormat>yyyy'-'MM'-'ddTHH':'mm':'ss</FindOutputDateFormat>

 

Regards,

Carlos.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...