Browse Source

Include docker command directly because node isn't available in Jenkins

James Allen 9 years ago
parent
commit
ffc35d9d65
1 changed files with 2 additions and 1 deletions
  1. 2 1
      services/web/Jenkinsfile

+ 2 - 1
services/web/Jenkinsfile

@@ -115,7 +115,8 @@ pipeline {
     
     
     stage('Acceptance Tests') {
     stage('Acceptance Tests') {
       steps {
       steps {
-        sh './node_modules/.bin/grunt test:acceptance:docker'
+        sh 'docker pull sharelatex/acceptance-test-runner'
+        sh 'docker run --rm -v $(pwd):/app --env SHARELATEX_ALLOW_PUBLIC_ACCESS=true sharelatex/acceptance-test-runner'
       }
       }
     }
     }