mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-10 20:11:11 +00:00
remove postgres
This commit is contained in:
parent
7405761968
commit
70fe7ee97a
1 changed files with 4 additions and 2 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -37,8 +37,8 @@ pipeline {
|
|||
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Running tests...'
|
||||
sh './mvnw test'
|
||||
echo 'Running tests with default profile (skip docker compose)...'
|
||||
sh './mvnw clean verify -Dspring.docker.compose.skip.in-tests=true -Dspring.profiles.active=default -DskipITs'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
|
@ -59,6 +59,8 @@ pipeline {
|
|||
withSonarQubeEnv('SonarQubeServer') {
|
||||
sh """
|
||||
./mvnw clean verify sonar:sonar \
|
||||
-Dspring.docker.compose.skip.in-tests=true \
|
||||
-Dspring.profiles.active=default \
|
||||
-Dsonar.projectKey=${env.SONAR_PROJECT_KEY} \
|
||||
-Dsonar.projectName='${env.PROJECT_NAME}' \
|
||||
-Dsonar.host.url=http://sonarqube:9000 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue