17 lines
455 B
Kotlin
17 lines
455 B
Kotlin
job("Build and run tests") {
|
|
// run 'gradlew build'
|
|
gradlew("azul/zulu-openjdk:17", "build", "--no-daemon") {
|
|
// mountDir = "/root"
|
|
// cache {
|
|
// storeKey = "dot-gradle"
|
|
// localPath = "/root/.gradle"
|
|
// }
|
|
|
|
fileArtifacts {
|
|
localPath = "build/libs/*"
|
|
archive = true
|
|
remotePath = "{{ run:number }}/build"
|
|
onStatus = OnStatus.SUCCESS
|
|
}
|
|
}
|
|
} |