Jenkins executing maven from incorrect path

前端 未结 4 1459
不思量自难忘°
不思量自难忘° 2020-12-30 06:14

This happens for both: maven projects, and freestyle projects, when maven target is envoked, it tries to execute mvn using absolute path.

[MY-Job] $ tools/         


        
4条回答
  •  我在风中等你
    2020-12-30 06:32

    Are you sure you have set up Maven in Jenkins -> configuration like this

    enter image description here

    I have hunch you have a accidental **"."** current directory reference somewhere in your maven set up.

提交回复
热议问题