added manual secuential file

This commit is contained in:
2021-02-19 04:44:27 +01:00
parent 97d71be8d2
commit a8e3ac9877
3 changed files with 55 additions and 69 deletions

4
Jenkinsfile vendored
View File

@@ -41,11 +41,11 @@ pipeline {
}
}
}
// all the stages here will run in parallel
stages {
stage('Build image') {
steps {
//echo "Do Build for ${$ImgRelease} - ${ImgVariant}"
// Dbug MSG
echo "Do Build for ${$ImgRelease} - ${ImgVariant}"
// 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