소스 검색

instance docker

Benjamin Kornblum 8 달 전
부모
커밋
3cc4895777
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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 */