diff --git a/Jenkinsfile b/Jenkinsfile index 06f5452..11e68b9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,11 +3,14 @@ pipeline { triggers { pollSCM 'H/2 * * * *' } // poll every 2 mins + environment { + DOCKER_HOST = 'tcp://docker:2376' + } + stages { stage('Build') { steps { sh 'java -version' - sh "echo $DOCKER_HOST" sh 'docker version' sh './mvnw --ntp verify' }