Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

Pascal LAFOURCADE 2 years ago
parent c265420ac5
commit 013561f41e

@ -8,17 +8,21 @@ trigger:
- dev
steps:
- name: 'Unit Tests'
image: ubuntu:latest
commands:
- apt update && apt install openjdk-11-jdk -y
- ./gradlew :test
# - name: 'Unit Tests'
# image: ubuntu:latest
# commands:
# - apt update && apt install openjdk-11-jdk -y
# - ./gradlew :test
- name: deploy
image: ubuntu:latest
image: ubuntu:latest
environment:
SSH:
from_secret: DEPLOY_KEY_SANCY
commands:
- apt update && apt install openjdk-11-jdk -y
- ./gradlew :shadowJar
- scp build/libs/server-all.jar lafourcade@sancy.iut.uca.fr:public_html/TBasket
settings:
port: 22