After a failover in my HA instance, jobs using TFS fail

Issue

  • I had a failover happen inside of Jenkins and now any jobs which use TFS for their SCM fail with the message The workspace $WORKSPACE already exists on computer $COMPUTER

Environment

Resolution

This problem is being caused by the workspace not being allowed to be shared between 2 computers as mentioned in the TFS documentation.

The way to resolve this issue is to either move the workspace to a non NFS shared directory and have a workspace per HA master, or to delete the workspace at the end of the build using something like a post build step or the workspace cleanup plugin

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.