Apparently, some of our workspaces for specific branch names are mangled in a way that the directories start with a "-" (or multiple!). This would require some special handling in scripts and we would like to avoid that.
There also have been some discussions about this special case in the now obsolete implementation in
I had a look and it seems to happen here:
It can be tested with this small java program:
For the moment i have increased MAX_LENGTH on our jenkins, but I would really love to see this fixed in Jenkins.