Explorar o código

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

James Allen %!s(int64=9) %!d(string=hai) anos
pai
achega
ffc35d9d65
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      services/web/Jenkinsfile

+ 2 - 1
services/web/Jenkinsfile

@@ -115,7 +115,8 @@ pipeline {
     
     stage('Acceptance Tests') {
       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'
       }
     }