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:
options:
index: "app.js"
logFile: "app.log"
watch:
coffee:

View file

@ -124,7 +124,7 @@ pipeline {
stage('Acceptance Tests') {
steps {
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)'
}
}