While running our JUnit tests from an ANT script we are randomly getting this error.
Execution protection violation
[16:10:26]: Process exit code: 1
[16:10:26]: Publishing artifacts
[16:10:26]: [Publishing artifacts] Artifacts path dist/version.txt not found
[16:10:26]: [Publishing artifacts] Artifacts path *.war not found
[16:10:26]: Build finished
I would even just add a comment to a file and commit it and get this error message.
What does this error message mean in the context of running in Team City?
What causes this error?
What steps can be taken to stop it?