Start Jenkins on Fedora 20

Installing Jenkins on Fedora 20 is quite easy thanks to the available Red Hat packages, but I ran into problems when I tried to start Jenkins. Here are the installation steps I followed: wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key yum -y install jenkins systemctl enable jenkins systemctl start jenkins Your first error will show up if Java isn’t installed. You can fix that by installing Java: yum -y install java-1....

2014-08-13 · 2 min · Major Hayden

Get colorful ansible output in Jenkins

Working with ansible is enjoyable, but it’s a little bland when you use it with Jenkins. Jenkins doesn’t spawn a TTY and that causes ansible to skip over the code that outputs status lines with colors. The fix is relatively straightforward. First, install the AnsiColor Plugin on your Jenkins node. Once that’s done, edit your Jenkins job so that you export ANSIBLE_FORCE_COLOR=true before running ansible: export ANSIBLE_FORCE_COLOR=true ansible-playbook -i hosts site....

2014-06-25 · 2 min · Major Hayden