Unverified Commit 92fc578c authored by Selvakumar Kamatchinathan's avatar Selvakumar Kamatchinathan Committed by GitHub
Browse files

updated fb server context

parent a8ae9093
...@@ -57,7 +57,7 @@ pipeline { ...@@ -57,7 +57,7 @@ pipeline {
} }
steps { steps {
echo 'Deploying to Fallback' echo 'Deploying to Fallback'
sh "curl --upload-file fallback/target/amp-t2d-property-registry-*.war 'http://'${tomcatCredentials}'@'${fallbackHost}':8080/manager/text/deploy?path=/ega/ampt2d/registry&update=true' | grep 'OK - Deployed application at context path '" sh "curl --upload-file fallback/target/amp-t2d-property-registry-*.war 'http://'${tomcatCredentials}'@'${fallbackHost}':8080/manager/text/deploy?path=/ega/t2d/registry&update=true' | grep 'OK - Deployed application at context path '"
echo 'Deploying to Production' echo 'Deploying to Production'
sh "curl --upload-file production/target/amp-t2d-property-registry-*.war 'http://'${tomcatCredentials}'@'${productionHost}':8080/manager/text/deploy?path=/ega/t2d/registry&update=true' | grep 'OK - Deployed application at context path '" sh "curl --upload-file production/target/amp-t2d-property-registry-*.war 'http://'${tomcatCredentials}'@'${productionHost}':8080/manager/text/deploy?path=/ega/t2d/registry&update=true' | grep 'OK - Deployed application at context path '"
archiveArtifacts artifacts: 'production/target/amp-t2d-property-registry-*.war' , fingerprint: true archiveArtifacts artifacts: 'production/target/amp-t2d-property-registry-*.war' , fingerprint: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment