This Tutorial uses MAC book to install the required tools.
- Install Java on Windows machine if not installed. https://www.java.com/en/download/win10.jsp
download the latest version JDK and double click the EXE file
you will see the Wizard as below
There are multiple ways to install JDK on MAC
Check the Existing JDK version
javac -version
-
Option 1: Install Directly fromJDK
- Download JDK version from Oracle
- Under "Java Platform, Standard Edition" ⇒ "Java SE 13.0.{x}", where {x} denotes a fast running security-update number ⇒ Click the "Oracle JDK" "Download" button.
- Under "Java SE Development Kit 13.0.{x}" ⇒ Check "Accept License Agreement".
- Choose the JDK for your operating platform, i.e., macOS. Download the DMG installer (e.g, jdk-13.0.{x}_osx-x64_bin.dmg - about 172MB).
- Install JDK/JRE Double-click the downloaded Disk Image (DMG) file. Follow the screen instructions to install JDK/JRE.
- To verify your installation, open a "Terminal" and issue this command.
java -version
-
Option 2: Install using Brew
- Make sure HomeBrew is already installed
- use this command to install latest jdk
brew cask install java
- after complete you should able to see the JDK in
cd /Library/Java/JavaVirtualMachines/<jdk_version>/Contents/Home/
- add this path to your
~/.bash_profile
echo 'export JAVA_HOME=/Library/Java/JavaVirtualMachines/<jdk_version>/Contents/Home' >> ~/.bash_profile echo 'export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bash_profile
- Follow instruction on this Document: Install_Docker_CE_Desktop_windows.docx
- Download Docker for mac from (https://hub.docker.com/editions/community/docker-ce-desktop-mac/)
- double click the .dmg file and follow the instruction
How to Install ngrok
Enabling Jenkins Port forwarding via ngrok, ngrok is required to enable Webhook on your Local mechine.
Download the above zip file and run as below, the Port should be the same Jenkins
win:/> ngrok.exe http 8080
mac:$ ./ngrok http 8080