Skip to main content Skip to complementary content
Close announcements banner

Configuring paths to third-party tools

How to store the environment variables and paths to the third-party tools needed to run your Jenkins pipeline (JDK/OpenJDK, Maven).

Procedure

  1. Navigate to Manage Jenkins > Global Tool Configuration.
  2. In the Git > Git installations area, add the Git executable:
    1. Click Add Git.
    2. 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.
  3. In the Maven > Maven installations area, add the M3 Maven tool:
    1. Click Add Maven.
    2. Name the tool M3, this name will be used in the pipeline script.
    3. 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.
  4. Click Save to take the changes into account.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!