Explorar o código

instance docker

Benjamin Kornblum hai 8 meses
pai
achega
3cc4895777
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 */