script block
This commit is contained in:
parent
2d0d60677c
commit
1f6536c36d
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user