Before we begin, make sure you have the following things ready:
- The Maven tool configured inside the Global Tool Configuration page (refer to the The Global Tool Configuration page section)
- Install Pipeline Maven Integration Plugin
- The Java tool is also needed to build the Maven project, but since we are building our code on Jenkins master (which already has Java JDK), we can skip installing the Java tool