diff --git a/Jenkinsfile_CD b/Jenkinsfile_CD index 6231a10..2f1c28b 100644 --- a/Jenkinsfile_CD +++ b/Jenkinsfile_CD @@ -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' } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b0a7e81..d69ecb8 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -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