I have cloned a configuration for a new branch with a new repository configuration and are seeing an error every time I attempt to build:
Repository Syncing
2:50:54 PM Using UNC Transport.
2:50:54 PM No Repositories synced.
2:50:54 PM An error occurred while syncing files from the server to the agent. Details: An error occurred while parsing start of repository rule pattern ‘$Source.10-1-x$’. Details: The expression [$Source.10-1-x$] contains errors: Unknown object : 10-1-x.
The branch it should be using is called 10.2.x. I’ve checked the repository configuration and cannot see any remaining references to 10.1.x.
Would you be able to help me locate the configuration section i’ve overlooked?
Using Continua 1.7.1.84
Simon. K
Hi Simon,
Check the repository rules tab in the Stage Options. You should see $Source.10-1-x$. I suspect that you have removed a repository named “10-1-x” from the configuration but not removed the reference to it in the repository rules.
Thanks Dave,
That was it.
It’s been a while and I totally forgot those options existed.