feature/task-30-docker #31

Merged
L_DelOff merged 76 commits from feature/task-30-docker into master 2023-11-22 11:36:41 +03:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 5d4370d932 - Show all commits

View File

@@ -26,6 +26,8 @@ pipeline {
steps {
withCredentials([file(credentialsId: 'SERVERMONITORBOT_APPLICATION_YAML', variable: 'application_yaml')]) {
sh "cp \$application_yaml src/main/resources/application.yml"
sh "ls"
sh "ls -lh src/main/resources/"
}
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'
}

View File

@@ -2,9 +2,9 @@ spring:
application:
name: ServerMonitorBot
datasource:
url: jdbc:postgresql://test:5432/servermonitorbot
username: test
password: test
url: jdbc:postgresql://db:5432/servermonitorbot
username: servermonitorbot
password: servermonitorbot
jpa:
hibernate:
ddl-auto: none