Created
November 7, 2013 14:23
-
-
Save depth42/7355346 to your computer and use it in GitHub Desktop.
Xcode Server has the problem that one can only access the build log files once the build or test process has finished. But as it can occur that tests hang, it is hard to analyze why and where the hang actually happened.
This little shell script helps debugging by showing the log output of the currently running bot.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Shell script to be executed on a Mavericks Server runing Xcode Server using sudo | |
BOTRUN_DATA=/Library/Server/Xcode/Data/BotRuns | |
LATEST_RUN=`ls -tr $BOTRUN_DATA | grep BotRun- | tail -n1` | |
tail -f ${BOTRUN_DATA}/${LATEST_RUN}/output/build.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment