mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-03 15:02:35 +02:00
checking if the maven install/verfiy return errors (#3625)
Co-authored-by: anilkeshav27 <you@example.com> Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
parent
2a56723d40
commit
fcbf28e3ff
@ -85,6 +85,10 @@ func runMavenBuild(config *mavenBuildOptions, telemetryData *telemetry.CustomDat
|
||||
|
||||
_, err := maven.Execute(&mavenOptions, utils)
|
||||
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "failed to execute maven build for goal(s) '%v'", goals)
|
||||
}
|
||||
|
||||
log.Entry().Debugf("creating build settings information...")
|
||||
stepName := "mavenBuild"
|
||||
dockerImage, err := getDockerImageValue(stepName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user