Browse Source

instance docker

Benjamin Kornblum 8 tháng trước cách đây
mục cha
commit
3cc4895777
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      Jenkinsfile

+ 5 - 0
Jenkinsfile

@@ -1,6 +1,11 @@
 node {
     def app
 
+    stage('Initialize'){
+        def dockerHome = tool 'docker'
+        env.PATH = "${dockerHome}/bin:${env.PATH}"
+    }
+
     stage('Clone repository') {
         /* Let's make sure we have the repository cloned to our workspace */