Set env vars for package step too

This commit is contained in:
Jim Nicholson 2024-02-13 03:47:02 -08:00
parent 58e08995ac
commit d33eceddc2

View File

@ -35,6 +35,8 @@ void call(Map config = [:], Closure body = { }) {
fi
"""
archiveArtifacts artifacts: archiveName, followSymlinks: false
withEnv(["TAG=${runConfig.tag}", "HASH=${runConfig.hash}", "VERSION=${runConfig.version}"]) {
body()
}
}
}