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