Jenkins 进行maven项目构建时,遇到express
[WARNING] Failed to create parent directories for tracking file
或者还包含[ERROR]maven
maven-compiler-plugin-3.3.pom.part.lock (No such file or directory) -> [Help 1]
这时若是加上输入$WORKSPACE变量会发现目录不对。this
解决方法是:插件
勾选Restrict where this project can be run。io
Label expression为master。ast
便可。变量
缘由,或许是mave plugin Jenkins这个插件的问题。file