build with docker libs

This commit is contained in:
Kameron Kenny 2024-06-26 12:48:39 -04:00
parent 3d563cb219
commit 217f56ea96
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 6 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -28,13 +28,17 @@ pipeline {
} }
} }
} }
}
node {
stage('Create contexts') { stage('Create contexts') {
steps { steps {
sh 'docker context ls | grep pi502 || docker context create pi502 --docker "host=ssh://pi502.in.thelinuxpro.net"' sh 'docker context ls | grep pi502 || docker context create pi502 --docker "host=ssh://pi502.in.thelinuxpro.net"'
} }
} }
}
node {
stage('Start container') { stage('Start container') {
steps { steps {
script { script {