Intructions here are created for basic jenkins introduction. Source code used is WebGoat for vulnerability demonstrations and fixes in further workshops
Go through below prep-work before starting with jenkins
-
confirm with
java -version
command.java version "1.8.0_112" Java(TM) SE Runtime Environment (build 1.8.0_112-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)
- Install Maven latest version
-
confirm with
mvn -v
command with similar output below with your Maven Home path``` Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: /Users/Sidhu/workshop/apache-maven-3.3.9 Java version: 1.8.0_112, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac" ```
- Now why don't you Install jenkins and Create FreeStyle job and play with it !!