Compare commits
2 Commits
23effc5fe6
...
386dceed36
| Author | SHA1 | Date | |
|---|---|---|---|
| 386dceed36 | |||
| 5d4370d932 |
@@ -26,6 +26,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withCredentials([file(credentialsId: 'SERVERMONITORBOT_APPLICATION_YAML', variable: 'application_yaml')]) {
|
withCredentials([file(credentialsId: 'SERVERMONITORBOT_APPLICATION_YAML', variable: 'application_yaml')]) {
|
||||||
sh "cp \$application_yaml src/main/resources/application.yml"
|
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'
|
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'
|
||||||
}
|
}
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>3.1.2</version>
|
<version>3.1.3</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>ru.ldeloff</groupId>
|
<groupId>ru.ldeloff</groupId>
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: ServerMonitorBot
|
name: ServerMonitorBot
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://test:5432/servermonitorbot
|
url: jdbc:postgresql://db:5432/servermonitorbot
|
||||||
username: test
|
username: servermonitorbot
|
||||||
password: test
|
password: servermonitorbot
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: none
|
ddl-auto: none
|
||||||
|
|||||||
Reference in New Issue
Block a user