|
I don't know exactly what's causing it so I don't know how to tell you to replicate it.
If I enter the URL with @HEAD or a specific revision number, it works Updating svn://foo.com/svn/project/trunk@HEAD at revision HEAD
If I enter the URL without a revision, it blows up Updating svn://foo.com/svn/project/trunk at revision '2015-12-11T20:42:38.326 +0000'
date -u on the jenkins server outputs Fri Dec 11 20:40:27 UTC 2015
date -u on the subversion server outputs Fri Dec 11 21:12:18 UTC 2015
The format of the output in the logs leads me to believe that r.getDate() == null
CheckoutUpdater.java
private static final FastDateFormat fmt = FastDateFormat.getInstance("''yyyy-MM-dd'T'HH:mm:ss.SSS Z''");
---snip---
SVNRevision r = getRevision(location);
String revisionName = r.getDate() != null ?
fmt.format(r.getDate()) : r.toString();
listener.getLogger().println("Checking out " + location.remote + " at revision " + revisionName);
---snip---
SVNRevision.java
/**
* Gives a string representation of this object.
*
* @return a string representing this object
*/
public String toString() {
if (myRevision >= 0) {
return Long.toString(myRevision);
} else if (myName != null) {
return myName;
} else if (myDate != null) {
return DateFormat.getDateTimeInstance().format(myDate);
}
return "{invalid revision}";
}
If you can tell me what repository I need to add to maven to get it to resolve the jenkins plugin stuff I'll throw a bunch of logging in this, build it, and run it on my server
|