1.Permission denied
[[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.1:compile[m [1m(default-compile)[m on project [36mtest[m: [1;31mError while storing the mojo status[m: /var/lib/jenkins/workspace/e2e-tests/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (Permission denied) -> [1m[Help 1][m
报错没有权限,给对应目录加了777权限也无效
将jenkins默认用户改为root或其他
vim /etc/sysconfig/jenkins
JENKINS_USER="root"
2.jenkins构建springboot项目起不来,启动中,过一会{dataSource-1} closed
Jenkins在构建结束后会把额外启动的进程杀死。
解决
加参数BUILD_ID=dontKillMe,如下