-
Notifications
You must be signed in to change notification settings - Fork 48
/
appveyor.yml
29 lines (21 loc) · 663 Bytes
/
appveyor.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
version: "{branch} {build}"
build:
verbosity: detailed
build_script:
- gradlew.bat build
cache:
- C:\Users\appveyor\.gradle
artifacts:
- path: prison-spigot\build\libs\
name: Prison
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
matrix:
fast_finish: true
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/k3rn31p4nic/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/k3rn31p4nic/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL