fix main-from-plugin build initial checkout

refs DE-339

Change-Id: Ic023a9dfb389a8eac2b39f5fef7b97e849580803
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/250827
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
Aaron Ogata 2020-10-22 08:05:34 -07:00
parent 732343f000
commit fb473d4c70
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -334,7 +334,7 @@ pipeline {
sh 'find .'
cleanAndSetup()
def refspecToCheckout = env.CANVAS_LMS_REFSPEC && !env.CANVAS_LMS_REFSPEC.contains('master') ? env.CANVAS_LMS_REFSPEC : env.GERRIT_REFSPEC
def refspecToCheckout = currentBuild.projectName.contains("main-from-plugin") ? env.CANVAS_LMS_REFSPEC : env.GERRIT_REFSPEC
checkout([
$class: 'GitSCM',