Jenkins踩坑-No such directory exists:XX ERROR: Failed to launch Maven. Exit code = 1 Finished: FAILURE
使用Jenkins持续集成时,发现错误:
No such directory exists: /var/lib/jenkins/workspace/jm_config/jm-config/usr/local/maven/maven
ERROR: Failed to launch Maven. Exit code = 1
Finished: FAILURE
百思不得其解,明明已经配置了maven,为什么找不到呢?
后来,我去重新检查maven 的配置
没毛病啊!但是再一看,真是太粗心了,竟然写了相对路径,在前面加上"/"根目录后,maven正常启动。