-
Notifications
You must be signed in to change notification settings - Fork 13
Setup Build Slave
TBD: describe general setup and meaning of on readme.
tested on 4.5.2 and 4.6 available on MAS https://itunes.apple.com/de/app/xcode/id497799835?l=en&mt=12 Download and run once to accept EULA and install updates (no comment).
To build and test the various artifacts during the build, each slave needs a set of command line tools. If you don't setup this machine from scratch it is very likely that you already have some of them installed.
- Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"http://mxcl.github.com/homebrew/ - ios-sim
brew install ios-simhttps://github.com/phonegap/ios-sim - Node.js
brew install nodehttp://nodejs.org - PhantomJS
brew install phantomjshttp://phantomjs.org - Git
brew install githttp://git-scm.com
CloudBee's custom build slaves need to be authorized via SSH and require you to provide a public SSH key. Since you should not store your personal SSH keys on a dedicated build server, we recommand creating a new pair.
https://help.github.com/articles/generating-ssh-keys
- submit to BeamApp
ssh-keygen -t rsa -f cloudbees-slave -N ""
- create new empty directory (preferrably without whitespaces in full path)
- put jenkins-cli.jar into it
- put run-cloudbees-slave.sh into and
chmod +xit - run
./run-cloudbees-slave.sh - (if dialog asks for installing Java, please do so and run again)
If the script terminates with "Authentication failed. No private key accepted." we haven't received your private SSH key, yet. Please wait until we registered your build slave.
It could be that this is the first time you are running a Java application. In this case, a dialog will pop up and ask you to install the Java Runtime Environment. Please do so (this build has been tested with JRE 1.6).
TBD
