script block

This commit is contained in:
Andy Pack 2023-04-24 09:16:28 +01:00
parent 2d0d60677c
commit 1f6536c36d
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -51,6 +51,7 @@ pipeline {
} }
stage('Deploy') { stage('Deploy') {
steps { steps {
script {
docker.withRegistry('https://git.sarsoo.xyz', 'git-registry-creds') { docker.withRegistry('https://git.sarsoo.xyz', 'git-registry-creds') {
docker.build("sarsoo/selector-cli:latest", docker.build("sarsoo/selector-cli:latest",
@ -62,6 +63,7 @@ pipeline {
} }
} }
} }
}
post { post {
always { always {
cleanWs() cleanWs()