Skip to content

Commit

Permalink
Merge pull request #332 from karun-singh/main
Browse files Browse the repository at this point in the history
Jenkins CI: Updated image tag to 5.5.0-alpha
  • Loading branch information
abhi4578 authored Jan 5, 2024
2 parents 91bbeb2 + 16c9d75 commit e8ce0b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,16 @@ pipeline {
steps {
script {
docker.withRegistry( registryUri, registryCredential ) {
devImage.push("5.0.0-alpha-${env.GIT_HASH}")
deplImage.push("5.0.0-alpha-${env.GIT_HASH}")
devImage.push("5.5.0-alpha-${env.GIT_HASH}")
deplImage.push("5.5.0-alpha-${env.GIT_HASH}")
}
}
}
}
stage('Docker Swarm deployment') {
steps {
script {
sh "ssh azureuser@docker-swarm 'docker service update auth_auth --image ghcr.io/datakaveri/aaa-depl:5.0.0-alpha-${env.GIT_HASH}'"
sh "ssh azureuser@docker-swarm 'docker service update auth_auth --image ghcr.io/datakaveri/aaa-depl:5.5.0-alpha-${env.GIT_HASH}'"
sh 'sleep 15'
sh '''#!/bin/bash
response_code=$(curl -s -o /dev/null -w \'%{http_code}\\n\' --connect-timeout 5 --retry 5 --retry-connrefused -XGET https://authvertx.iudx.io/apis)
Expand Down

0 comments on commit e8ce0b7

Please sign in to comment.