commit cf4a76e305e63f28b3d3e525b6163d1ec7f60adc
parent 932f8899da808039dfdbb8ebfc38a1e7ab871c63
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sun, 28 Sep 2025 15:51:58 +0200
feat(Jenkinsfile): fix image tag
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -14,7 +14,7 @@ def secrets = [
]
node('podman'){
- checkout scm
+ scmVars = checkout(scm)
gitleaks()
withVault([vaultSecrets: secrets]) {
@@ -24,6 +24,6 @@ node('podman'){
}
// build with image context and name
- buildahbud.execute([:], '.', 'hivedav', "${env.GIT_COMMIT}")
- buildahpush.execute('hivedav', "${env.GIT_COMMIT}")
+ buildahbud.execute([:], '.', 'hivedav', "${scmVars.GIT_COMMIT}")
+ buildahpush.execute('hivedav', "${scmVars.GIT_COMMIT}")
}