In Jenkins scripted pipeline you can set PATH env variable like this :
node { git url: \'https://github.com/jglick/simple-maven-project-with-tests.git\'
Check the following link, this explains how to configure your tools. Using the declarative pipeline things become a bit different but overall it is easier to understand.
declarative-maven-project