How to set PATH in Jenkins Declarative Pipeline

后端 未结 4 822
面向向阳花
面向向阳花 2021-01-01 08:55

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\'
          


        
4条回答
  •  旧时难觅i
    2021-01-01 09:31

    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

提交回复
热议问题