1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

Use full file path when trying to publish MTAR in mtaBuild step. (#3735)

This commit is contained in:
Martin Zuber 2022-04-13 14:50:13 +02:00 committed by GitHub
parent 511a541bd5
commit 7e0ec525bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,7 +288,7 @@ func runMtaBuild(config mtaBuildOptions,
log.Entry().Infof("pushing mtar artifact to repository : %s", config.MtaDeploymentRepositoryURL)
data, err := os.Open(mtarName)
data, err := os.Open(getMtarFilePath(config, mtarName))
if err != nil {
return errors.Wrap(err, "failed to open mtar archive for upload")
}