summaryrefslogtreecommitdiff
path: root/vars/isCustomBuild.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'vars/isCustomBuild.groovy')
-rw-r--r--vars/isCustomBuild.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/isCustomBuild.groovy b/vars/isCustomBuild.groovy
index 301fdd42..c5e5fab7 100644
--- a/vars/isCustomBuild.groovy
+++ b/vars/isCustomBuild.groovy
@@ -22,5 +22,5 @@ def call() {
def gitURI = 'git@github.com:vyos/' + getGitRepoName()
def httpURI = 'https://github.com/vyos/' + getGitRepoName()
- return !((getGitRepoURL() == gitURI) || (getGitRepoURL() == httpURI)) || env.CHANGE_ID
+ return !((getGitRepoURL() == gitURI) || (getGitRepoURL() == httpURI)) || isPullRequest()
}