kmath/.space.kts
2020-12-22 21:10:48 +07:00

27 lines
444 B
Kotlin

job("Publish") {
startOn {
gitPush {
branchFilter {
+"dev"
}
}
}
gradlew("openjdk:11", "publish") {
env["SPACE_USER"] = Secrets("space_user")
env["SPACE_TOKEN"] = Secrets("space_token")
}
}
job("Build"){
startOn {
gitPush {
branchFilter {
-"dev"
}
}
}
gradlew("openjdk:11", "build")
}