diff options
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 6ea34f372..a169b8f2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -88,16 +88,8 @@ pipeline { steps { script { dir('build') { - scm { - git { - remote { - name(getGitRepoName()) - url(getGitRepoURL()) - refspec('+refs/pull/*:refs/remotes/origin/pr/*') - } - branch('${sha1}') - } - } + git branch: getGitBranchName(), + url: getGitRepoURL() } } } |