This commit is contained in:
parent
922497573b
commit
bbfc5687d9
16
.drone.yml
16
.drone.yml
@ -7,8 +7,8 @@ steps:
|
||||
image: gradle:jdk11-alpine
|
||||
commands:
|
||||
- ./gradlew clean
|
||||
./gradlew build
|
||||
./gradlew test
|
||||
- ./gradlew build
|
||||
- ./gradlew test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -23,12 +23,12 @@ steps:
|
||||
path: /build
|
||||
commands:
|
||||
- tar cvzf /build/$(git log -n 1 --format="%h")_school_archive.gz.tar app/ gradle/ gradlew/ gradlew.bat README.md settings.gradle
|
||||
- trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
trigger:
|
||||
- branch:
|
||||
- master
|
||||
event:
|
||||
- include:
|
||||
- push
|
||||
volumes:
|
||||
- name: archives
|
||||
host:
|
||||
|
Loading…
Reference in New Issue
Block a user