Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins SubWCRev E155036 working copy is too old

Tags:

svn

jenkins

im getting an error during the build process on our Jenkins Server, since i tried to use the Tortoise SubWCRev.exe in a prebuild Event to get the Revision number and place it in the assembly file.

This is the Error:

PreBuildEvent: SubWCRev.exe "...\Jenkins\jobs... " "...\Jenkins\jobs...\Properties\AssemblyInfo.cs.template " "...\Jenkins\jobs...\Properties\AssemblyInfo.cs "

SubWCRev : E155036: The working copy at '...\Jenkins\jobs...\workspace\code' is too old (format 29) to work with client version '1.8.10 (r1615264)' (expects format 31). You need to upgrade the working copy first.

When i do a Rebuild on my local machine it works fine and replaces the Revisionumber in the AssemblyInfo.cs File.

I am pretty new to Subversioning and Jenkins, so i dont have a clue at the moment.

like image 345
Karsten93 Avatar asked Nov 20 '25 14:11

Karsten93


1 Answers

The Solution was quite simply in the end...

You have to update the Jenkins Subversion Plug-In to Version 2.5 or higher (I've done it to 2.5.2). After you update the Plug-In you have to set Subversion to Version 1.8 (this is done in Jenkins / system configuration / Subversion )

like image 50
Karsten93 Avatar answered Nov 22 '25 05:11

Karsten93