summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-12-16 08:56:46 -0800
committerhagbard <vyosdev@derith.de>2019-12-16 08:56:46 -0800
commit214e63fbad5f1ed008543ba0eec56d1aa6649745 (patch)
tree71f21947a57366cf007206b0b852411ed09afb0e /Jenkinsfile
parentd814020778b8310faa3cd57ccfbc718bfb2fe215 (diff)
parentb55b68f6246329468b4ab3450e127d5bab683bff (diff)
downloadvyos-1x-214e63fbad5f1ed008543ba0eec56d1aa6649745.tar.gz
vyos-1x-214e63fbad5f1ed008543ba0eec56d1aa6649745.zip
Merge branch 'current' into equuleus
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a169b8f2c..6ea34f372 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -88,8 +88,16 @@ pipeline {
steps {
script {
dir('build') {
- git branch: getGitBranchName(),
- url: getGitRepoURL()
+ scm {
+ git {
+ remote {
+ name(getGitRepoName())
+ url(getGitRepoURL())
+ refspec('+refs/pull/*:refs/remotes/origin/pr/*')
+ }
+ branch('${sha1}')
+ }
+ }
}
}
}