diff --git a/Jenkinsfile.scripted.multibranch b/Jenkinsfile.scripted.multibranch index ff5f6af..3d16e36 100644 --- a/Jenkinsfile.scripted.multibranch +++ b/Jenkinsfile.scripted.multibranch @@ -1,6 +1,12 @@ node { def dockerImage + stage('Clone repository') { + sh '/usr/bin/env' + /* Let's make sure we have the repository cloned to our workspace */ + checkout scm + } + stage('Build image') { sh '/usr/bin/env' /* Multi-Branch Pipeline works with env.BRANCH_NAME*/