Hello
I’m not able to get the exclude feature to work on a stage repository rule. This is what I have:
#Source rules
#---------------------------------------------------
$Source.CalWin$ > <br>-$Source.CalWin$\ArtWork** > <br>
What I want is to exlude the ArtWork folder to be copied to the agent workspace. What I’m I missing? I thought this should be straight forward. I’ve tried
Regard
Sindre Barstad
CalWin AS
Hi Sindre,
These rules look correct and they work as expected in our tests. Note that the rules are case sensitive, so check that you have got the correct case for the ArtWork folder. Also note that the repositories rules run for each stage - if you have more than one stage check that you have set them on the relevant stage.
Have you ticked the “Log repository files copied” checkbox at the bottom of the Repository Rules tab? This will show a list of the actual files copied in the log.
To investigate further we would need to see an agent debug log. Ensure you are using the latest version of Continua CI, then enable debug logging in the agent configuration file. Restart the ContinuaCI Agent Service, then run the build before sending a copy of the log file to support @ finalbuilder.com.
Note if you have more than one agent, either ensure that only one is running or add a Agent Requirement to the stage e.g. $Agent.Hostname$ Equals “AgentHostname” to ensure that the build runs on an agent with debug logging enabled.
It was the case sensitivity. Thanks!