2 Commits

Author SHA1 Message Date
386dceed36 fix
Some checks failed
Hedgehog_server_CI/ServerMonitorBot/pipeline/head There was a failure building this commit
Hedgehog_server_CD/ServerMonitorBot/pipeline/head This commit looks good
2023-11-21 22:52:56 +03:00
5d4370d932 fix 2023-11-21 22:52:17 +03:00
3 changed files with 6 additions and 4 deletions

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

@@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.2</version>
<version>3.1.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ru.ldeloff</groupId>

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