What is the difference between executing build with mvn clean install
and running jenkins job with maven goal 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?
To answer your question directly:
jenkins
user (or whatever you configured).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.