The automatic deployment method will provide you a full featured Continuous Integration system with Jenkins and jenkins-debian-glue within just a few minutes, assuming that you have neither of them installed nor configured.
The deployment script expects
with >=512MB RAM and >=2GB of free disk space.
All you need to do to automatically deploy the stack is execute the following two commands:
wget https://raw.github.com/mika/jenkins-debian-glue/master/puppet/apply.sh sudo bash ./apply.sh your_password
This will take ~5 minutes (depending on network and disk speed).
After installation finished successfully you'll notice:
Now point your browser to http://$SERVER_IP:8080
Visiting your browser should give you the following screen:
Now login with username jenkins-debian-glue
and the password
you set in the apply.sh
commandline ('your_password' in the example
above).
http://$SERVER_IP:8080/user/jenkins-debian-glue/configure
to
change it.
Return to the start page again and go to the jenkins-debian-glue-source Jenkins job and select Build now. A few seconds later the job should be finished and automatically triggers the jenkins-debian-glue-binaries and jenkins-debian-glue-piuparts Jenkins jobs. This will take a while for its first run (setting up the cowbuilder environment for you).
Once the jenkins-debian-glue-binaries Jenkins job has finished as well you should have Jenkins jobs marked as blue (AKA success):
Problems? Check out the
build console log which should be available at
http://$SERVER_IP:8080/job/jenkins-debian-glue-binaries/architecture=amd64/lastBuild/console
Execute sudo repository_checker --list-repos jenkins-debian-glue
to get a listing of Debian packages inside the
jenkins-debian-glue repository, which is available in /srv/repository
. Now you have everything to add your own
Debian packages and enjoy the benefits of Continuous Integration.