From 5cdddc7d0e2947b1282ee0d31899743a751b5f87 Mon Sep 17 00:00:00 2001 From: Hayden Faulds Date: Tue, 21 Nov 2017 09:01:07 +0000 Subject: [PATCH] debugging output if acceptance tests fail on CI --- services/web/Gruntfile.coffee | 1 + services/web/Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/Gruntfile.coffee b/services/web/Gruntfile.coffee index 04c164c013..6144dd8fc6 100644 --- a/services/web/Gruntfile.coffee +++ b/services/web/Gruntfile.coffee @@ -39,6 +39,7 @@ module.exports = (grunt) -> app: options: index: "app.js" + logFile: "app.log" watch: coffee: diff --git a/services/web/Jenkinsfile b/services/web/Jenkinsfile index 9b3ddad5c8..c8cdb52c26 100644 --- a/services/web/Jenkinsfile +++ b/services/web/Jenkinsfile @@ -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)' } }