- Java version 1.6 or above
- Apache Maven 3.5.2
- Jenkins server
Note: Use latest version of software available. In future, the previous versions may not be compatible.
If you haven't already installed Java, you can download it from the official website: https://java.com/en/download/.
Use the following commands for this sample CI/CD application. I will be using an Ubuntu 16.04 instance for setup. So let's start by installing Java.
Log in to your Ubuntu server machine as a normal user. We need a user with
sudo access for installing packages on the machine. I will be using the Ubuntu username for this example:
# sudo apt-get update # sudo apt-get install default-jdk
The previous commands will install Java version 8 on the machine. Verify this with the following command:
$java -version openjdk version "1.8.0_151...