update pull

This commit is contained in:
Kameron Kenny 2024-07-01 13:59:48 -04:00
parent 6098cc46f5
commit 334f9990af
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -40,7 +40,8 @@ pipeline {
steps {
script {
//#def status_s = sh(returnStatus: true, script: 'grep $(docker --context pi502 compose ps | tail -n1 | awk \'{ print $2 }\') docker-compose.yml')
sh 'docker --context pi502 compose pull photos_kameronkenny_com_web'
sh 'docker --context pi502 pull docker-reigstry1.in.thelinuxpro.net:5000/sites/photos_kameronkenny_com_web:latest'
sh 'docker --context pi502 compose pull photos_kameronkenny_com_web:latest'
//if (status_s != 0) {
// sh 'docker --context pi502 compose up -d'