summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-22 20:11:30 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-22 20:11:30 +0200
commit7f8abb336c0d1345f8dd4b1432104cc2c35956b5 (patch)
tree47c4ab699da61204bfdef6673066da2ff5277a45 /Jenkinsfile
parent4a9c8a32ddc1ff3248ae0d1d99589850d0353fdd (diff)
downloadvyos-1x-7f8abb336c0d1345f8dd4b1432104cc2c35956b5.tar.gz
vyos-1x-7f8abb336c0d1345f8dd4b1432104cc2c35956b5.zip
Jenkins: hardocde repo URL
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 63e001804..639457d2d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -29,9 +29,8 @@ def getGitRepoURL() {
// env.JOB_NAME is e.g. vyos-build or vyos-1x and so on ....
def isCustomBuild() {
// GitHub organisation base URL
- def repoPath = 'vyos/' + env.JOB_NAME + '.git'
- def gitURI = 'git@github.com:' + repoPath
- def httpURI = 'https://github.com/' + repoPath
+ def gitURI = 'git@github.com:vyos/vyos-1x.git'
+ def httpURI = 'https://github.com/vyos/vyos-1x.git'
return ! ((getGitRepoURL() == gitURI) || (getGitRepoURL() == httpURI))
}