1
0
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:
Anil Keshav 2022-03-11 10:02:50 +01:00 committed by GitHub
parent 2a56723d40
commit fcbf28e3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)