Use the right values
This commit is contained in:
parent
258546d13c
commit
1b2b99c2ea
@ -13,7 +13,7 @@ void call(Map config = [:], Closure body = { }) {
|
||||
if (runConfig.saveArtifacts) {
|
||||
assert runConfig.artifacts : 'Error: saveArtifacts is set to true; must specify artifacts!'
|
||||
}
|
||||
withEnv(["TAG=${runConfig.gitTag}", "HASH=${runConfig.gitHash}", "VERSION=${runConfig.version}"]) {
|
||||
withEnv(["TAG=${runConfig.tag}", "HASH=${runConfig.hash}", "VERSION=${runConfig.version}"]) {
|
||||
if ( fileExists(runConfig.buildRequires)) {
|
||||
sh """
|
||||
${runConfig.buildCmd}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user