You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
Updated publish behaviour for verify/install
This commit is contained in:
@@ -129,10 +129,12 @@ func runMavenBuild(config *mavenBuildOptions, _ *telemetry.CustomData, utils mav
|
||||
|
||||
goals = append(goals, "org.jacoco:jacoco-maven-plugin:prepare-agent")
|
||||
|
||||
if config.Verify {
|
||||
goals = append(goals, "verify")
|
||||
} else {
|
||||
goals = append(goals, "install")
|
||||
if !config.Publish {
|
||||
if config.Verify {
|
||||
goals = append(goals, "verify")
|
||||
} else {
|
||||
goals = append(goals, "install")
|
||||
}
|
||||
}
|
||||
|
||||
mavenOptions := maven.ExecuteOptions{
|
||||
|
Reference in New Issue
Block a user