diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-27 14:57:18 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-27 14:57:18 +0200 |
commit | 2e1e117f96674b6bdbcf51cc62ef5345c6a1509d (patch) | |
tree | 8893ceca844b07a0ce29abe26c2cd5dacc36f5b3 /vars/isCustomBuild.groovy | |
parent | e68de0e41fe7bfdee4fddf5f42e3404da09f2bf6 (diff) | |
download | vyos-build-2e1e117f96674b6bdbcf51cc62ef5345c6a1509d.tar.gz vyos-build-2e1e117f96674b6bdbcf51cc62ef5345c6a1509d.zip |
Jenkins: lib: T2625: support PullRequest builds
Diffstat (limited to 'vars/isCustomBuild.groovy')
-rw-r--r-- | vars/isCustomBuild.groovy | 2 |
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() } |