Skip to content

Instantly share code, notes, and snippets.

@Sophrinix
Created May 12, 2014 18:37
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 Sophrinix/70c757e8f1e4bf4578ff to your computer and use it in GitHub Desktop.
Save Sophrinix/70c757e8f1e4bf4578ff to your computer and use it in GitHub Desktop.
Jenkins config for TiConf 2014 NY talk
cd ~/Desktop/ticonf2014testappdemo/alloytest
titanium clean
titanium build --platform=iphone --test &
sleep 30
killall "iPhone Simulator"
export PATH="/Users/andrewmcelroy/.rbenv/shims:/Applications/Postgres.app/Contents/MacOS/bin:/Users/andrewmcelroy/bin:/usr/local/bin:/Users/andrewmcelroy/.rbenv/bin:/Users/andrewmcelroy/android/tools:/Users/andrewmcelroy/android/:/Users/andrewmcelroy/android//tools:/Users/andrewmcelroy/android/platform-tools/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/andrewmcelroy/.ec2/bin"
echo | titanium calabash --platform=iphone
cd ~/Library/Application Support/iPhone Simulator/7.1/Applications/
AppGUID = find . -name "alloytest" |cut -d "/" -f 2
cp "~/Library/Application Support/iPhone Simulator/7.1/Applications/$AppGUID/Documents/jenkins.xml" $WORKSPACE/jenkins.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment