diff --git a/Jenkinsfile b/Jenkinsfile index 6d62845..07da7ba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,22 +42,17 @@ pipeline { } } // all the stages here will run in parallel - stages { - stage('Build') { - steps { // Build script sh '''sudo $WORKSPACE/distrobuilder build-lxc Alpine.yaml $WORKSPACE/REL/$ImgRelease-$ImgVariant/ -o image.release=$ImgRelease -o image.variant=$ImgVariant sudo chown jenkins:jenkins -R $WORKSPACE/REL ''' - } - } - } + } } stage('Finish') { steps { // Save generated files - archiveArtifacts artifacts: '/REL/**', followSymlinks: false + archiveArtifacts artifacts: 'REL/**', followSymlinks: false // Cleaning WorkSpace //cleanWs() }