Skip to content

Instantly share code, notes, and snippets.

@depth42
Created November 11, 2013 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save depth42/7419263 to your computer and use it in GitHub Desktop.
Save depth42/7419263 to your computer and use it in GitHub Desktop.
My former Jenkins build script for performing xcode tests using xcodebuild and ocunit2junit
rm -f ${WORKSPACE}/test-reports/*.xml
rm -rf /Users/jenkins/Library/Developer/Xcode/DerivedData
rm -rf ${WORKSPACE}/Build/Products
nice -n 20 xcodebuild -workspace MyWorkspace.xcworkspace -scheme MyScheme -configuration Debug SYMROOT=${WORKSPACE}/Build/Products clean test OTHER_CFLAGS='$(inherited) -Qunused-arguments -Werror' | ocunit2junit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment