Try building in paralell
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -43,8 +43,9 @@ pipeline {
|
||||
}
|
||||
// all the stages here will run in parallel
|
||||
stages {
|
||||
stage('Build ${$ImgRelease} - ${ImgVariant}') {
|
||||
stage('Build image') {
|
||||
steps {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user