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'