Ver Fonte

instance docker

Benjamin Kornblum há 8 meses atrás
pai
commit
3cc4895777
1 ficheiros alterados com 5 adições e 0 exclusões
  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 */