Jump to content

Jenkins plugin 2.0 Error: Unparseable date


Greg102

Recommended Posts

Hi

 

We have Jenkins 1.558 with Plastic SCM plugin.

Plastic SCM version: 5.0.44.551

 

It works on german windows 7

 

We got error: Unparseable date: "22.04.2014 11:57:47"

 

[workspace] $ "C:\Program Files\PlasticSCM5\client\cm.exe" find changeset where date between "'2014-04-22 11:56:43'" and "'2014-04-22 11:57:52'" and branch='/main' on repositories 'GD_TMP@192.168.11.113:8087' --xml
<?xml version="1.0" encoding="utf-8" ?>
<PLASTICQUERY>
<CHANGESET>
<ID>336</ID>
<CHANGESETID>7</CHANGESETID>
<COMMENT>2296</COMMENT>
<DATE>22.04.2014 11:57:47</DATE>
<OWNER>Greg</OWNER>
<REPOSITORY>GD_TMP</REPOSITORY>
<REPNAME>GD_TMP</REPNAME>
<REPSERVER>ServerIP:8087</REPSERVER>
<BRANCH>/main</BRANCH>
<PARENT>6</PARENT>
<GUID>348e8ca4-83e5-4e9e-b416-4cae76520e07</GUID>
</CHANGESET>
</PLASTICQUERY>
FATAL: Parse error: Error at line 7 char 37: Unparseable date: "22.04.2014 11:57:47"
ERROR: null
Finished: FAILURE

 

 

Regards

Greg

Link to comment
Share on other sites

Hi Greg!

 

You can specify a custom time format inside the "client.conf" for the cm find operation, the parameter is "FindOutputDateFormat", please specify the German time format inside the "client.conf" file used by the Jenkins user inside the Jenkins machine. Make sure you perform the change for the user is running Jenkins.

 

This is an example:

    ...
    <CheckinQueuesSize>50</CheckinQueuesSize>
    <PendingChangesOnSwitchAction>Fail</PendingChangesOnSwitchAction>
    <FindOutputDateFormat>dd/MM/yyyy HH:mm:ss</FindOutputDateFormat>
</ClientConfigData>

Tell me if it helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...