Browse Source

phant err

formation 2 năm trước cách đây
mục cha
commit
eea761def9
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -52,7 +52,8 @@ node{
     		
     try {
         // Exporter la variable d'environnement NODE_OPTIONS
-        sh 'export NODE_OPTIONS=--openssl-legacy-provider && npm run test-ci'
+        sh 'export NODE_OPTIONS=--openssl-legacy-provider '
+        sh 'npm install phantomjs-prebuilt --save-dev && npm run test-ci'
     } catch(err) {
         sh 'echo TEST FAILED'
         junit 'target/surefire-reports/TESTS-TestSuite.xml/*.xml'