set CRYSTALBALL_REPO_PATH for plugin builds

Change-Id: If2e7878a257627efe0b6c53ff77407d69d104b2f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283459
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
James Butters 2022-01-24 14:06:42 -07:00
parent 2c3ce9e899
commit 0de47ab63f
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -445,6 +445,7 @@ pipeline {
docker run --name=crystal --volume \$(pwd)/$LOCAL_WORKDIR/.git:$DOCKER_WORKDIR/.git \
-e CRYSTALBALL_DIFF_FROM=${diffFrom} \
-e CRYSTALBALL_DIFF_TO=${GERRIT_PATCHSET_REVISION} \
-e CRYSTALBALL_REPO_PATH=$DOCKER_WORKDIR \
$PATCHSET_TAG bundle exec crystalball --dry-run
docker cp \$(docker ps -qa -f name=crystal):/usr/src/app/crystalball_spec_list.txt ./tmp/crystalball_spec_list.txt
'''