summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-12 20:56:23 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-12 21:00:28 +0100
commit325b3fd14ce7a021ad347231a768f992b97b6804 (patch)
treeb86b28704610a1083427c76a5177d7393a3b106a /Jenkinsfile
parent1f810cbd0abd8bb5c9c7a499a253b0c2ddd36b70 (diff)
downloadvyos-1x-325b3fd14ce7a021ad347231a768f992b97b6804.tar.gz
vyos-1x-325b3fd14ce7a021ad347231a768f992b97b6804.zip
Jenkins: T1870: only use pull request refspec
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b070bd939..d5be6d5c9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -94,7 +94,11 @@ pipeline {
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'CleanCheckout']],
submoduleCfg: [],
- userRemoteConfigs: [[refspec: "+refs/pull/*/head:refs/remotes/origin/PR-* +refs/heads/*:refs/remotes/origin/*", url: getGitRepoURL()]]
+ userRemoteConfigs: [[
+ refspec: '+refs/pull/*/head' +
+ ':refs/remotes/origin/*',
+ url: getGitRepoURL()
+ ]]
])
}
}