diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-12 20:56:23 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-12 21:00:28 +0100 |
commit | 325b3fd14ce7a021ad347231a768f992b97b6804 (patch) | |
tree | b86b28704610a1083427c76a5177d7393a3b106a | |
parent | 1f810cbd0abd8bb5c9c7a499a253b0c2ddd36b70 (diff) | |
download | vyos-1x-325b3fd14ce7a021ad347231a768f992b97b6804.tar.gz vyos-1x-325b3fd14ce7a021ad347231a768f992b97b6804.zip |
Jenkins: T1870: only use pull request refspec
-rw-r--r-- | Jenkinsfile | 6 |
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() + ]] ]) } } |