Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Automatic min-length workspace root
Automatic min-length workspace root [message #1708476] Wed, 16 September 2015 23:24 Go to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
We run a large Hudson installation on Windows. Many of our jobs need to have longish names. On top of that, our codebase is structured such that there are many deep paths. The end result is that if we allow Hudson to pick the workspace root, we will run into Windows path length limit. We have to manually set a minimalist workspace root to avoid this, which gets rather tedious and runs the risk of workspace collisions between jobs.

Does Hudson have a solution for automatically picking non-descriptive, but minimal-length workspace paths?
Re: Automatic min-length workspace root [message #1708477 is a reply to message #1708476] Thu, 17 September 2015 00:06 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
You should be able to specify Hudson's home directory by system property HUDSON_HOME when starting Hudson. You must move all the contents of the current Hudson home but you can use shorter workspace path if you choose short home path such as C:\h.

Kaz Nishimura
Re: Automatic min-length workspace root [message #1708480 is a reply to message #1708477] Thu, 17 September 2015 01:36 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
I need something that will shorten the part that's derived from the job name. Shortening HUDSON_HOME is not enough.
Previous Topic:Hudson 3.3.0 MsBuild plugin fails with NullPointerException
Next Topic:Mercurial plugin 1.45 fails to clone by Tag
Goto Forum:
  


Current Time: Wed Apr 24 22:35:16 GMT 2024

Powered by FUDForum. Page generated in 0.02682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top