change ip for the account application

pull/3/head
Chris Veilleux 2019-03-04 02:00:36 -06:00
parent 20115f7d9f
commit ec161a05e2
1 changed files with 8 additions and 4 deletions

12
Jenkinsfile vendored
View File

@ -43,12 +43,14 @@ pipeline {
echo 'Deploying to test environment web servers...'
withCredentials([sshUserPrivateKey(credentialsId: '6413826d-79f6-4d03-9902-ee1b73a96efd', keyFileVariable: 'JENKINS_SSH_KEY', passphraseVariable: '', usernameVariable: 'SERVER_USER')]) {
// Deploy account application and its associated libraries
sh 'scp -r dist/shared root@192.81.211.55:/var/www/'
sh 'scp -r dist/globalnav root@192.81.211.55:/var/www/'
sh 'scp -r dist/page-not-found root@192.81.211.55:/var/www/'
sh 'scp -r dist/account root@192.81.211.55:/var/www/'
echo 'Deploying account application...'
sh 'scp -r dist/shared root@192.241.152.213:/var/www/'
sh 'scp -r dist/globalnav root@192.241.152.213:/var/www/'
sh 'scp -r dist/page-not-found root@192.241.152.213:/var/www/'
sh 'scp -r dist/account root@192.241.152.213:/var/www/'
// Deploy single sign on application and its associated libraries
echo 'Deploying single sign on application...'
sh 'scp -r dist/shared root@198.199.90.118:/var/www/'
sh 'scp -r dist/globalnav root@198.199.90.118:/var/www/'
sh 'scp -r dist/page-not-found root@198.199.90.118:/var/www/'
@ -81,12 +83,14 @@ pipeline {
echo 'Deploying to production environment web servers...'
withCredentials([sshUserPrivateKey(credentialsId: '6413826d-79f6-4d03-9902-ee1b73a96efd', keyFileVariable: 'JENKINS_SSH_KEY', passphraseVariable: '', usernameVariable: 'SERVER_USER')]) {
// Deploy account application and its associated libraries
echo 'Deploying account application...'
sh 'scp -r dist/shared root@???:/var/www/'
sh 'scp -r dist/globalnav root@???:/var/www/'
sh 'scp -r dist/page-not-found root@???:/var/www/'
sh 'scp -r dist/account root@???:/var/www/'
// Deploy single sign on application and its associated libraries
echo 'Deploying single sign on application...'
sh 'scp -r dist/shared root@???:/var/www/'
sh 'scp -r dist/globalnav root@???:/var/www/'
sh 'scp -r dist/page-not-found root@???:/var/www/'