I'm running Mavericks Server and using bots for CI. Some of my bots create an archive when run. Since I have a finite of drive space, I want to be sure that I don't overfill the machine with archives and ipa files.
Where are these files stored, and is it possible to change this location?
Yosemite server stores them in
/Library/Developer/XcodeServer/IntegrationAssets/
There is a directory for each bot, containing all the build products and archives generated by it.
For Xcode 7.0 / Server 5.0.4 we have the following situation:
TARGET_NAME=`basename "${XCS_ARCHIVE}" .xcarchive` INTEGRATION_ASSETS=/Library/Developer/XcodeServer/IntegrationAssets/ IPA_PATH=${INTEGRATION_ASSETS}/${XCS_BOT_ID}-${XCS_BOT_NAME}/${XCS_INTEGRATION_NUMBER}/${TARGET_NAME}.ipa ARCHIVE_PATH=${INTEGRATION_ASSETS}/${XCS_BOT_ID}-${XCS_BOT_NAME}/${XCS_INTEGRATION_NUMBER}/${TARGET_NAME}.xcarchive.zip echo ${IPA_PATH} echo ${ARCHIVE_PATH}
${ARCHIVE_PATH}
as well ${IPA_PATH}
from the script above are not yet available during execution of the "After Integration" trigger. They are moved to its place shortly after execution.Found it here.
It turns out that the builds, including the archives, are stored at the following location.
/Library/Server/Xcode/Data/BotRuns/
EDIT:
For Xcode Server 5.0.1 / Xcode 7 GM and beyond, see primulaveris's answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With