mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 02:23:59 +00:00
Update Jenkinsfile
This commit is contained in:
parent
72ef354206
commit
0b41d32cbb
1 changed files with 7 additions and 0 deletions
7
services/real-time/Jenkinsfile
vendored
7
services/real-time/Jenkinsfile
vendored
|
@ -35,6 +35,7 @@ pipeline {
|
||||||
stage('Compile') {
|
stage('Compile') {
|
||||||
steps {
|
steps {
|
||||||
sh 'node_modules/.bin/grunt install'
|
sh 'node_modules/.bin/grunt install'
|
||||||
|
sh 'node_modules/.bin/grunt compile:acceptance_tests'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
|
@ -42,6 +43,12 @@ pipeline {
|
||||||
sh 'node_modules/.bin/grunt test:unit'
|
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') {
|
stage('Package') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo ${BUILD_NUMBER} > build_number.txt'
|
sh 'echo ${BUILD_NUMBER} > build_number.txt'
|
||||||
|
|
Loading…
Reference in a new issue