Skip to content

Commit

Permalink
Try setting JAVA_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Jul 19, 2019
1 parent af634d5 commit ebb9743
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Expand Up @@ -48,6 +48,7 @@ jobs:
# SOLR config
cp ~/project/ckan/config/solr/schema.xml /etc/solr/conf/schema.xml
printf "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8080\nJAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64\n" | tee /etc/default/jetty
service jetty9 restart || true # it says "jetty9 failed!" but it does seem to work!
service jetty9 check
Expand All @@ -62,6 +63,9 @@ jobs:
paster datastore -c test-core-circle-ci.ini set-permissions | psql --host=ckan-postgres --username=ckan
paster db init -c test-core-circle-ci.ini
# No need for AppArmor to protect
aa-disable
# Tests Backend, split across containers by segments
- run: |
mkdir -p ~/junit
Expand Down

0 comments on commit ebb9743

Please sign in to comment.