forked from heremaps/gradle-jenkins-jobdsl-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (23 loc) · 773 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
environment:
HOME: $(HOMEDRIVE)$(HOMEPATH)
cache:
- $(HOME)\.gradle\caches\jars-1
- $(HOME)\.gradle\caches\jars-2
- $(HOME)\.gradle\caches\jars-3
- $(HOME)\.gradle\caches\modules-2
- $(HOME)\.gradle\caches\transforms-1
- $(HOME)\.gradle\wrapper\dists
install:
- gradlew plugin:publishToMavenLocal
build_script:
- gradlew example:assemble
test_script:
- gradlew --stacktrace plugin:check
on_finish:
- gradlew --stop # Fix "fileHashes.bin" being used by another process.
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
$pattern = '**\build\test-results\**\TEST-*.xml'
foreach ($file in (Resolve-Path $pattern)) {
(New-Object 'System.Net.WebClient').UploadFile($url, $file)
}