From 0dc0b5c6adc3757eb1d7ccd08210b6eda8978bbf Mon Sep 17 00:00:00 2001 From: lbrinkhaus Date: Thu, 27 Jan 2022 00:17:54 +0100 Subject: [PATCH] Initialize Dockerpath in Jenkinsfile --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2d39ca0..08a9ef4 100644 --- a/Jenkinsfile +++ b/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 */