[WARNING] Failed to create parent directories for tracking file ...

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

相關文章
相關標籤/搜索