update automation script & test

This commit is contained in:
2023-06-16 11:44:18 +08:00
parent 60295330de
commit 1d753801dd
+10 -4
View File
@@ -1,10 +1,16 @@
job("Build and run tests") { job("Build and run tests") {
// run 'gradlew build' // run 'gradlew build'
gradlew("azul/zulu-openjdk:17", "build") { gradlew("azul/zulu-openjdk:17", "build", "--no-daemon") {
mountDir = "/root"
cache {
storeKey = "dot-gradle"
localPath = "/root/.gradle"
}
fileArtifacts { fileArtifacts {
localPath = "build" localPath = "build/libs"
archive = true archive = false
remotePath = "{{ run:number }}/build.zip" remotePath = "{{ run:number }}/build"
onStatus = OnStatus.SUCCESS onStatus = OnStatus.SUCCESS
} }
} }