forked from EngineHub/WorldEdit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.yml
31 lines (31 loc) · 881 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
steps:
- name: gcr.io/cloud-builders/git
args:
- clone
- --branch=$BRANCH_NAME
- --depth=1
- https://github.com/StratusNetwork/WorldEdit.git
- build
- name: gcr.io/cloud-builders/gsutil
args:
- -mq
- cp
- -r
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/master/.m2
- .
- name: gcr.io/cloud-builders/docker
args:
- run
- --volume=/workspace/build:/root/build
- --volume=/workspace/.m2:/root/.m2/repository
- gcr.io/$PROJECT_ID/gradle
- bash
- -c
- cd /root/build && gradle build install && mv worldedit-bukkit/build/libs/worldedit-bukkit-6.1.9-SNAPSHOT.jar /root/.m2/repository/other/worldedit.jar
- name: gcr.io/cloud-builders/gsutil
args:
- -mq
- cp
- -r
- .m2
- gs://artifacts.$PROJECT_ID.appspot.com/artifacts/master