Installing Jenkins on Centos 7

I set up a Jenkins server on a brand new Centos 7 VPS. In the following the instructions for doing this in case you are looking at doing the same: Setting up Jenkins Server Install OpenJDK Java sudo yum install java-1.8.0-openjdk Add Jenkins Repo and install Jenkins sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import … Continue reading Installing Jenkins on Centos 7

Jenkins StackOverflow Exception during JUnit Test

Problem The build of a Maven job in Jenkins fails due to a StackOverflowException or a OutOfMemoryException during a JUnit test. Analysis Most likely, there is a bug in your application, which leads to infinite recursion or an infinite allocation in resources. So first try to run your test in a different environment (for instance in eclipse, … Continue reading Jenkins StackOverflow Exception during JUnit Test

Embedding Jenkins in Java App

The Continuous Integration server Jenkins can easily be deployed to any Servlet container or run in standalone mode (see Starting Jenkins). However, sometimes it can be handy to be able to start Jenkins from within another Java application. I like this option since this 'manager' Java app can easily be deployed to other systems and platforms (without having … Continue reading Embedding Jenkins in Java App