Update Jenkinsfile

This commit is contained in:
Joe Green 2017-09-21 10:59:41 +01:00 committed by GitHub
parent 72ef354206
commit 0b41d32cbb

View file

@ -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'