[英]What is the difference between running maven goals from console and from jenkins
What is the difference between executing build with mvn clean install
and running jenkins job with maven goal clean install
? 什么是执行与建设之间的差异
mvn clean install
和运行詹金斯工作与Maven目标clean install
?
I'm running: 我在跑:
mvn sonar:sonar -Dsonar.jacoco.itReportPath=target/jacoco-integration.exec
and it works as expected but adding following maven goal to jenkins works differently. 并且按预期方式运行,但将以下行家目标添加至詹金斯的方式则有所不同。
sonar:sonar -Dsonar.jacoco.itReportPath=target/jacoco-integration.exec
I figured out, that jenkins executes builds as jenkins user, but is that all? 我发现,jenkins以jenkins用户的身份执行构建,但这就是全部吗?
To answer your question directly: 要直接回答您的问题:
jenkins
user (or whatever you configured). jenkins
用户(或任何您配置的)执行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.