update automation script & test
This commit is contained in:
+10
-4
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user