Skip to content
Snippets Groups Projects
Commit dcc4623c authored by BERTOLONE--LOPEZ-SERRANO MELVYN p1804487's avatar BERTOLONE--LOPEZ-SERRANO MELVYN p1804487
Browse files
parents 081fcda1 45f80021
No related branches found
No related tags found
No related merge requests found
Pipeline #86002 failed
......@@ -31,10 +31,10 @@ deploy-auth-api:
- . ci/setup-mvn-proxy.sh
- chmod 400 $CI_SSH_KEY
script:
- cd ./auth-server/
- mvn clean package
- ssh 192.168.75.68
- rm /opt/tomcat/webapps/authServer.war
- cd ./users/
- ssh -i $CI_SSH_KEY 192.168.75.68
- rm -f /opt/tomcat/webapps/authServer.war
- exit
- scp -o StrictHostKeyChecking=no -i $CI_SSH_KEY /builds/p1712650/mif13-projet-gr02/auth-server/target/authServer.war gitlabci@192.168.75.68:/opt/tomcat/webapps/authServer.war
- mvn clean package
- scp -o StrictHostKeyChecking=no -i $CI_SSH_KEY /builds/p1712650/mif13-projet-gr02/users/target/authServer.war gitlabci@192.168.75.68:/opt/tomcat/webapps/authServer.war
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment