How to store the environment variables and paths to the third-party tools needed to run your Jenkins pipeline (JDK/OpenJDK, Maven).
- Navigate to .
area, add the Git executable:
- Click Add Git.
- Enter the path to your Git executable file, or select the JGit (Java Based Git) check box if you want to install a new one automatically.
area, add the M3 Maven tool:
- Click Add Maven.
- Name the tool M3, this name will be used in the pipeline script.
- Enter the path to your Maven installation directory in the MAVEN_HOME field, or select the Install automatically check box if you want to install a new one automatically.
- Click Save to take the changes into account.