Skip to content

Commit

Permalink
Updated jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ddjain committed Apr 3, 2024
1 parent 7692266 commit 59de948
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 @@ -37,19 +37,19 @@ pipeline {
}
stage('Deploy') {
steps {
echo 'Deploying hapi-fhir-jpaserver-r4 in qa'
echo 'Deploying to QA'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV $GIT_ENV cicd deploy hapi-fhir-jpaserver-r4 qa $GIT_COMMIT'
}
}
stage('Wait') {
steps {
echo 'Waiting for hapi-fhir-jpaserver-r4 service to reach steady state'
echo 'Waiting for QA service to reach steady state'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV $GIT_ENV cicd wait hapi-fhir-jpaserver-r4 qa'
}
}
stage('Healthcheck') {
steps {
echo 'Checking health of hapi-fhir-jpaserver-r4 service'
echo 'Checking health of QA service'
sh 'curl -m 10 https://fhir4-qa.elimuinformatics.com/actuator/health'
}
}
Expand Down

0 comments on commit 59de948

Please sign in to comment.