As I understand it, workspaces.txt determines the mapping from the full project path to the shortened workspace name.
This week, I noticed that some builds failed, because they tried to build into a workspace using the full project path instead of the shortened one. This mostly occurs for the first builds of a branch: later builds are ok (folder names are abbreviated for clarity)
./jobs/C/jobs/S/jobs/L/branches/NewBranch/builds/1/log:Running on *MYNODE* in /home/jenkins/workspace/C/S/L/NewBranch <-- !!!
./jobs/C/jobs/S/jobs/L/branches/NewBranch/builds/2/log:Running on *MYNODE* in /home/jenkins/workspace/NewBranch_15
./jobs/C/jobs/S/jobs/L/branches/NewBranch/builds/3/log:Running on *MYNODE* in /home/jenkins/workspace/NewBranch_15
Is this a regression, an issue with an upgrade path or caused by a corrupt workspaces.txt file?
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]