Run a Jenkins master on Apache Mesos and Marathon.
http://rogerignazio.com/blog/scaling-jenkins-mesos-marathon.
jenkins-standalone.sh
takes two arguments:
- ZooKeeper URL
- Redis host
Redis is used as the broker for Logstash and the Jenkins Logstash plugin.
When copying/pasting this command into Marathon, each line should be
concatenated with &&
, so that it only proceeds if the previous command
was successful.
Example usage:
git clone https://github.com/rji/jenkins-standalone
cd jenkins-standalone
./jenkins-standalone.sh -z $(cat /etc/mesos/zk) -r redis.example.com