jkf Testing

This commit is contained in:
2021-02-19 03:40:34 +01:00
parent 4a5c9d23f5
commit 5e96630b9f

9
Jenkinsfile vendored
View File

@@ -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()
}