git clean fails when there are submodules

17 views
Skip to first unread message

David Scott

unread,
Jun 3, 2015, 3:01:00 AM6/3/15
to ccnet...@googlegroups.com
I'm using Git for source control. I have a project that recently added a submodule. Ever since it was added our CI build has been failing with this error "Source control operation failed: . Process command: C:\Program Files (x86)\Git\cmd\git.exe clean -d -f -x".
If I login to the build server and execute the command through git-bash it doesn't give any feedback so I'm not sure why it's failing. Any ideas?

<sourcecontrol type="git">
<repository>g...@github.com:companyname/project.git</repository>
<branch>$(branch)</branch>
<autoGetSource>true</autoGetSource>
<fetchSubmodules>true</fetchSubmodules>
<executable>C:\Program Files (x86)\Git\cmd\git.exe</executable>
<commitBuildModifications>false</commitBuildModifications>
<commitUntrackedFiles>false</commitUntrackedFiles>
<workingDirectory>c:\build\develop\project</workingDirectory>
<timeout>1800000</timeout>
</sourcecontrol>
Reply all
Reply to author
Forward
0 new messages