debugging output if acceptance tests fail on CI

This commit is contained in:
Hayden Faulds
2017-11-23 10:39:21 +00:00
parent 09964cfe95
commit 5cdddc7d0e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@ module.exports = (grunt) ->
app:
options:
index: "app.js"
logFile: "app.log"
watch:
coffee:
+1 -1
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)'
}
}