fix qti_migration_tool build
Change-Id: Ia2d06a7d28f7937eb5a677c5acba098c655ad17c Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283060 Reviewed-by: Jeremy Stanley <jeremy@instructure.com> Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Andrea Cirulli <andrea.cirulli@instructure.com> Product-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
This commit is contained in:
parent
2323fdd19b
commit
4b4898df7f
|
@ -48,6 +48,10 @@ def getDockerWorkDir() {
|
|||
}
|
||||
|
||||
def getLocalWorkDir() {
|
||||
if (env.GERRIT_PROJECT == 'qti_migration_tool') {
|
||||
return "vendor/${env.GERRIT_PROJECT}"
|
||||
}
|
||||
|
||||
return env.GERRIT_PROJECT == 'canvas-lms' ? '.' : "gems/plugins/${env.GERRIT_PROJECT}"
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,9 @@ def call() {
|
|||
}
|
||||
}
|
||||
|
||||
pluginsToPull.add([name: 'qti_migration_tool', version: _getPluginVersion('qti_migration_tool'), target: 'vendor/qti_migration_tool'])
|
||||
if (env.GERRIT_PROJECT != 'qti_migration_tool') {
|
||||
pluginsToPull.add([name: 'qti_migration_tool', version: _getPluginVersion('qti_migration_tool'), target: 'vendor/qti_migration_tool'])
|
||||
}
|
||||
|
||||
pullRepos(pluginsToPull)
|
||||
echo 'Pulling Crystalball Map'
|
||||
|
|
Loading…
Reference in New Issue