Set env vars for package step too
This commit is contained in:
parent
58e08995ac
commit
d33eceddc2
@ -35,6 +35,8 @@ void call(Map config = [:], Closure body = { }) {
|
|||||||
fi
|
fi
|
||||||
"""
|
"""
|
||||||
archiveArtifacts artifacts: archiveName, followSymlinks: false
|
archiveArtifacts artifacts: archiveName, followSymlinks: false
|
||||||
body()
|
withEnv(["TAG=${runConfig.tag}", "HASH=${runConfig.hash}", "VERSION=${runConfig.version}"]) {
|
||||||
|
body()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user