Add branch filter

This commit is contained in:
Iaroslav Postovalov 2020-12-22 21:05:24 +07:00
parent 66671964fa
commit 6fe344068b
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

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