2020-10-13 18:16:10 +03:00
|
|
|
job("Publish") {
|
2020-12-22 17:05:24 +03:00
|
|
|
startOn {
|
|
|
|
gitPush {
|
|
|
|
branchFilter {
|
|
|
|
+"dev"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-13 18:16:10 +03:00
|
|
|
gradlew("openjdk:11", "publish") {
|
2020-10-13 18:14:40 +03:00
|
|
|
env["SPACE_USER"] = Secrets("space_user")
|
|
|
|
env["SPACE_TOKEN"] = Secrets("space_token")
|
|
|
|
}
|
|
|
|
}
|
2020-12-22 17:10:48 +03:00
|
|
|
|
|
|
|
job("Build"){
|
|
|
|
startOn {
|
|
|
|
gitPush {
|
|
|
|
branchFilter {
|
|
|
|
-"dev"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gradlew("openjdk:11", "build")
|
|
|
|
}
|