File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ class Build(
126126 }
127127
128128 bts.buildTypes().forEach {
129- it.thisVcs(if (forPullRequests) " refs/ pull/*" else DEFAULT_BRANCH )
129+ it.thisVcs(if (forPullRequests) " pull/*" else DEFAULT_BRANCH )
130130
131131 it.features {
132132 loginToECR()
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ fun BuildType.thisVcs(forBranch: String) = vcs {
165165 branchSpec =
166166 """
167167 -:*
168- +:$forBranch
168+ +:$forBranch
169169 """
170170 .trimIndent()
171171
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ project {
6363 vcs {
6464 this .branchFilter =
6565 """
66- +:refs/heads/$DEFAULT_BRANCH
66+ +:$DEFAULT_BRANCH
67+ +:pull/*
6768 """
6869 .trimIndent()
6970 }
You can’t perform that action at this time.
0 commit comments