The Jenkins pipeline syntax utility is a quick and easy way to create pipeline code. The pipeline syntax utility is available inside the Jenkins pipeline job; see the screenshot: The pipeline section in the Creating a Jenkins pipeline job section.
In this section, we will recreate the pipeline that we created in the previous section, but this time using the pipeline syntax utility.
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