Scrungepipes
Scrungepipes

Reputation: 37581

Where does Xcode bots place source code after cloning from a repository?

I've set up an Xcode build bot system on an OS X CI server machine and it all works successfully. However I simply cannot find where the bot system is cloning the source code to that it pulls from git. I've searched high and low on the build machine after a bot runs but cannot find any trace of it.

Upvotes: 3

Views: 813

Answers (2)

Santosh Singh
Santosh Singh

Reputation: 887

Just an update, for Mojave and Xcode 10, it clone code inside ~/Library/Caches/XCSBuilder/Bots/.

Upvotes: 1

Edgar
Edgar

Reputation: 2540

BotRuns usually create folders inside:

/Library/Server/Xcode/Data/BotRuns/

Something like this: Something like this

Don't forget that you need sudo permissions to handle this folder.

Inside the Cache folder you may eventually see a source folder. That's where the source code is.

Upvotes: 2

Related Questions