Skip to content
Snippets Groups Projects
Commit c7a7a99e authored by Burhan Akbar's avatar Burhan Akbar
Browse files

Adjusting a bigger change deploys v12...

parent 60206f83
Branches
No related tags found
No related merge requests found
......@@ -89,10 +89,11 @@ pipeline {
steps {
// Use SSH credentials to securely execute commands on the App VM.
sshagent([env.SSH_CRED_ID]) {
// Copy the built JAR and the docker-compose.yml file over to the App VM.
// Copy the built JAR, the docker-compose.yml file, and the Dockerfile over to the App VM.
sh """
scp build/libs/HealthCare-0.0.1-SNAPSHOT.jar ${APP_VM}:~/healthcare/
scp docker-compose.yml ${APP_VM}:~/healthcare/
scp Dockerfile ${APP_VM}:~/healthcare/
"""
// SSH into the App VM and run the deployment commands. Reverted to remove --no-cache and --force-recreate.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment