Initialize Dockerpath in Jenkinsfile
This commit is contained in:
parent
356098d858
commit
0dc0b5c6ad
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,6 +1,11 @@
|
|||||||
node {
|
node {
|
||||||
def app
|
def app
|
||||||
|
|
||||||
|
stage('Initialize'){
|
||||||
|
def dockerHome = tool 'docker'
|
||||||
|
env.PATH = "${dockerHome}/bin:${env.PATH}"
|
||||||
|
}
|
||||||
|
|
||||||
stage('Clone repository') {
|
stage('Clone repository') {
|
||||||
/* Let's make sure we have the repository cloned to our workspace */
|
/* Let's make sure we have the repository cloned to our workspace */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user