Modification .drone.yml
continuous-integration/drone/push Build is failing Details

Springboot
Alix JEUDI--LEMOINE 1 year ago
parent 4c08ea4932
commit 078bf2b51a

@ -12,8 +12,9 @@ steps:
- name: build-app - name: build-app
image: maven:3-eclipse-temurin-21-alpine image: maven:3-eclipse-temurin-21-alpine
commands: commands:
- sed -i -e "s/localhost/postgres_server/g" SpringBootProject/src/main/resources/application.properties - cd SpringBootProject/
- echo 'server.port=80' >> SpringBootProject/src/main/resources/application.properties - sed -i -e "s/localhost/postgres_server/g" src/main/resources/application.properties
- echo 'server.port=80' >> src/main/resources/application.properties
- mvn clean package - mvn clean package
- name: deploy-container-postgresql - name: deploy-container-postgresql

Loading…
Cancel
Save