mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
Merge master to LDOP-300-remote-bg-deployments
This commit is contained in:
commit
6b6476a2c9
1 changed files with 5 additions and 7 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -19,13 +19,11 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
configFileProvider(
|
||||
[configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
|
||||
}
|
||||
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Sonar') {
|
||||
agent {
|
||||
docker {
|
||||
|
@ -106,7 +104,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Deploy to dev') {
|
||||
agent any
|
||||
steps {
|
||||
|
@ -135,7 +133,7 @@ pipeline {
|
|||
}
|
||||
agent any
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue