wuheng há 2 anos atrás
pai
commit
cf7a6bd62c
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      Jenkinsfile

+ 4 - 3
Jenkinsfile

@@ -12,9 +12,10 @@ pipeline {
                 }
             }
             steps {
-                docker.image('node:16-alpine') { c ->
-                    sh 'docker -v'
-                }
+                checkout scm
+                /*docker.image('node:16-alpine') { c ->*/
+                /*    sh 'docker -v'*/
+                /* }*/
                 sh 'dockerio -v'
                 /* sh 'docker-compose down' */
                 /* sh 'npm install --registry https://registry.npm.taobao.org' */