add prod profile

This commit is contained in:
2025-10-23 11:16:09 +07:00
parent b39d1a435d
commit 1641a4a9c6
2 changed files with 5 additions and 2 deletions

4
Jenkinsfile vendored
View File

@@ -3,13 +3,13 @@ pipeline {
stages {
stage ('Build') {
steps {
sh 'mvn -B -DSkipTests clean package'
sh 'mvn -B -DSkipTests -Dspring.profiles.active=prod clean package'
}
}
stage ('Test') {
steps {
sh 'mvn test'
sh 'mvn test -Dspring.profiles.active=prod'
}
}

View File

@@ -0,0 +1,3 @@
spring.datasource.url=jdbc:postgresql://192.168.56.1:5432/mai-queue
spring.datasource.username=postgres
spring.datasource.password=password