diff options
author | Arnstein Ressem <aressem@verizonmedia.com> | 2020-12-18 14:37:15 +0100 |
---|---|---|
committer | Arnstein Ressem <aressem@verizonmedia.com> | 2020-12-18 14:37:15 +0100 |
commit | 2760386b4e986d8f1f4217a3dc120db4b23245ca (patch) | |
tree | 8b1d6f11a8922ef609a1ce896f6025d760b7aa1f /travis/travis.sh | |
parent | f6eb76ea7290b66a6e2d83fbb20413603b04a543 (diff) |
Forward required TRAVIS_* variables inside container.
Diffstat (limited to 'travis/travis.sh')
-rwxr-xr-x | travis/travis.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/travis/travis.sh b/travis/travis.sh index 3ed81d1864b..1ea4d43dd66 100755 --- a/travis/travis.sh +++ b/travis/travis.sh @@ -14,5 +14,6 @@ DOCKER_IMAGE=vespaengine/vespa-build-centos7:latest bell & docker run --rm -v ${HOME}/.m2:/root/.m2 -v ${HOME}/.ccache:/root/.ccache -v $(pwd):/source \ - --entrypoint /source/travis/travis-build.sh ${DOCKER_IMAGE} + -e TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST \ + --entrypoint /source/travis/travis-build.sh ${DOCKER_IMAGE} exit $? |