From 0b41d32cbbf783bb58bcfeddcd17507c9336c16d Mon Sep 17 00:00:00 2001 From: Joe Green Date: Thu, 21 Sep 2017 10:59:41 +0100 Subject: [PATCH] Update Jenkinsfile --- services/real-time/Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/real-time/Jenkinsfile b/services/real-time/Jenkinsfile index 81456dee00..f5f121ecf3 100644 --- a/services/real-time/Jenkinsfile +++ b/services/real-time/Jenkinsfile @@ -35,6 +35,7 @@ pipeline { stage('Compile') { steps { sh 'node_modules/.bin/grunt install' + sh 'node_modules/.bin/grunt compile:acceptance_tests' } } stage('Test') { @@ -42,6 +43,12 @@ pipeline { sh 'node_modules/.bin/grunt test:unit' } } + stage('Acceptance Tests') { + steps { + sh 'docker pull sharelatex/acceptance-test-runner' + sh 'docker run --rm -v $(pwd):/app sharelatex/acceptance-test-runner' + } + } stage('Package') { steps { sh 'echo ${BUILD_NUMBER} > build_number.txt'