wuheng 2 年之前
父节点
当前提交
cf7a6bd62c
共有 1 个文件被更改,包括 4 次插入3 次删除
  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' */