debugging output if acceptance tests fail on CI

This commit is contained in:
Hayden Faulds 2017-11-21 09:01:07 +00:00
parent 09964cfe95
commit 5cdddc7d0e
2 changed files with 2 additions and 1 deletions

View file

@ -39,6 +39,7 @@ module.exports = (grunt) ->
app: app:
options: options:
index: "app.js" index: "app.js"
logFile: "app.log"
watch: watch:
coffee: coffee:

View file

@ -124,7 +124,7 @@ pipeline {
stage('Acceptance Tests') { stage('Acceptance Tests') {
steps { steps {
sh 'docker pull sharelatex/acceptance-test-runner' sh 'docker pull sharelatex/acceptance-test-runner'
sh 'docker run --rm -v $(pwd):/app --env SHARELATEX_ALLOW_PUBLIC_ACCESS=true sharelatex/acceptance-test-runner' sh 'docker run --rm -v $(pwd):/app --env SHARELATEX_ALLOW_PUBLIC_ACCESS=true sharelatex/acceptance-test-runner || (cat forever/app.log && false)'
} }
} }