Tutorial by Examples

For apt-get based systems such as Ubuntu Add the Jenkins repository: wget -q -O - https://jenkins-ci.org/debian/ Jenkins-ci.org.key | sudo apt-key sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' Update sources and install Jenk...
Natively, Jenkins runs on port 8080. We can establish a proxy from port 80 -> 8080 so Jenkins can be accessed via: http://<url>.com instead of the default http://<url>.com:8080 Begin by installing Nginx. sudo aptitude -y install nginx Remove the default settings for Nginx c...
java -jar [Path to client JAR] -s [Server address] install-plugin [Plugin ID] The client JAR must be the CLI JAR file, not the same JAR/WAR that runs Jenkins itself. Unique IDs can be found on a plugins respective page on the Jenkins CLI wiki (https://wiki.jenkins-ci.org/display/JENKINS/Plugins) ...
This worked for me to move from Ubuntu 12.04 (Jenkins ver. 1.628) to Ubuntu 16.04 (Jenkins ver. 1.651.2). I first installed Jenkins from the repositories. Stop both Jenkins servers Copy JENKINS_HOME (e.g. /var/lib/jenkins) from the old server to the new one. From a console in the new serve...
Here we will be checking out the latest copy of our project's code, run the tests and will make the application live.To achieve that, follow below steps: Open Jenkins in browser. Click the New Job link. Enter project name and select the Build a free-style software project link. Click on Ok but...
1. Jenkins : Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson after a dispute with Oracle. In a nutshell, Jenkins is the leading open source automation server. Built with Java, it provides hundreds of plugins to support building, testing, de...
Here we will be creating a Groovy pipeline in Jenkins 2 to do the following steps : Verify every 5 minutes if new code has been commited to our project Checkout code from SCM repo Maven compile of our Java code Run our integration tests and publish the results Here are the steps we will : ...

Page 1 of 1