Install Java 11

Download File

1. Create an Oracle account and sign in

https://profile.oracle.com/myprofile/account/create-account.jspx

2. Download Oracle JDK 11 .tar.gz archive. Make sure the Oracle JDK version you're downloading is the same as the oracle-java11-installer-local package version. E.g. the installer is currently version 11.0.3, so it can be used to install Oracle JDK 11.0.3.

3. Create a /var/cache/oracle-jdk11-installer-local/ folder, and copy the Oracle JDK 11 .tar.gz to this folder.

/var/cache/oracle-jdk11-installer-local/ 

Install JDK

1. To add the PPA, open terminal either from app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command:

sudo add-apt-repository ppa:linuxuprising/java

2. Then run commands to install the script to start downloading and installing Java 11 on your Ubuntu:

sudo apt-get update
sudo apt-get install oracle-java11-installer-local

3. If you have installed multiple Java versions, install (or remove) oracle-java11-set-default package to set (or not set) Java 11 as default.

sudo apt-get install oracle-java11-set-default-local

Finally check Java version via

java -version

Install Jenkins

Source: jenkins.io

Installation:

wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

Access the WebUI and install the Plugins:

http://10.140.197.7:8080/

Usage

         This section is under construction.



References





{{#widget:DISQUS |id=networkm |uniqid=Jenkins |url=https://aman.awiki.org/wiki/Jenkins }}