Jenkins: Difference between revisions

From Network Security Wiki
Content added Content deleted
(Created page with " = Install Java 11 = 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. Mak...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Scripting]]
__TOC__
<br />


= Install Java 11 =
= Install Java 11 =

== Download File ==


1. Create an Oracle account and sign in
1. Create an Oracle account and sign in
Line 10: Line 15:
/var/cache/oracle-jdk11-installer-local/
/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:
1. To add the PPA, open terminal either from app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command:
Line 23: Line 29:
Finally check Java version via
Finally check Java version via
java -version
java -version

= Install Jenkins =

Source: [https://jenkins.io/doc/book/installing/#debian-ubuntu 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 =
{{UC}}


<br />
;References
<references/>
<br />
<br />
<br />


{{DISQUS}}

Latest revision as of 22:41, 8 August 2019


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 }}