Merge master to LDOP-300-remote-bg-deployments

This commit is contained in:
ebracho 2017-09-22 10:58:39 -07:00
commit 6b6476a2c9

12
Jenkinsfile vendored
View file

@ -19,13 +19,11 @@ pipeline {
} }
} }
steps { steps {
configFileProvider( configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
[configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) { sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B' }
}
} }
} }
stage('Sonar') { stage('Sonar') {
agent { agent {
docker { docker {
@ -106,7 +104,7 @@ pipeline {
} }
} }
} }
stage('Deploy to dev') { stage('Deploy to dev') {
agent any agent any
steps { steps {
@ -135,7 +133,7 @@ pipeline {
} }
agent any agent any
steps { steps {
deployToEnvironment("ec2-user", "qa.petclinic.liatr.io", "petclinic-deploy-key", env.IMAGE, TAG, "spring-petclinic", "qa.petclinic.liatr.io") deployToEnvironment("ec2-user", "qa.petclinic.liatr.io", "petclinic-deploy-key", env.IMAGE, TAG, "spring-petclinic", "qa.petclinic.liatr.io")
} }
} }