add production IPs to the Jenkinsfile for deployment

pull/6/head
Chris Veilleux 2019-05-20 17:23:46 -05:00
parent 0079390753
commit ea05c876f3
1 changed files with 16 additions and 9 deletions

25
Jenkinsfile vendored
View File

@ -58,7 +58,7 @@ pipeline {
sh 'scp -r dist/page-not-found root@198.199.90.118:/var/www/'
sh 'scp -r dist/sso root@198.199.90.118:/var/www/'
// Deploy single sign on application and its associated libraries
// Deploy marketplace application and its associated libraries
echo 'Deploying single sign on application...'
sh 'scp -r dist/shared root@198.211.106.110:/var/www/'
sh 'scp -r dist/globalnav root@198.211.106.110:/var/www/'
@ -93,17 +93,24 @@ pipeline {
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/'
sh 'scp -r dist/shared root@192.241.254.4:/var/www/'
sh 'scp -r dist/globalnav root@192.241.254.4:/var/www/'
sh 'scp -r dist/page-not-found root@192.241.254.4:/var/www/'
sh 'scp -r dist/account root@192.241.254.4:/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/'
sh 'scp -r dist/sso root@???:/var/www/'
sh 'scp -r dist/shared root@192.241.244.7:/var/www/'
sh 'scp -r dist/globalnav root@192.241.244.7:/var/www/'
sh 'scp -r dist/page-not-found root@192.241.244.7:/var/www/'
sh 'scp -r dist/sso root@192.241.244.7:/var/www/'
// Deploy marketplace application and its associated libraries
echo 'Deploying single sign on application...'
sh 'scp -r dist/shared root@192.241.160.90:/var/www/'
sh 'scp -r dist/globalnav root@192.241.160.90:/var/www/'
sh 'scp -r dist/page-not-found root@192.241.160.90:/var/www/'
sh 'scp -r dist/market root@192.241.160.90:/var/www/'
}
}
}