Fix again?
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -42,10 +42,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// all the stages here will run in parallel
|
// all the stages here will run in parallel
|
||||||
stages {
|
parallel {
|
||||||
stage('Build image') {
|
stage('Build image') {
|
||||||
steps {
|
steps {
|
||||||
echo "Do Build for ${$ImgRelease} - ${ImgVariant}"
|
//echo "Do Build for ${$ImgRelease} - ${ImgVariant}"
|
||||||
// Build script
|
// Build script
|
||||||
sh '''sudo $WORKSPACE/distrobuilder build-lxc Alpine.yaml $WORKSPACE/REL/$ImgRelease-$ImgVariant/ -o image.release=$ImgRelease -o image.variant=$ImgVariant
|
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
|
sudo chown jenkins:jenkins -R $WORKSPACE/REL
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// all the stages here will run in parallel
|
// all the stages here will run in parallel
|
||||||
parallel {
|
stages {
|
||||||
stage('Build image') {
|
stage('Build image') {
|
||||||
steps {
|
steps {
|
||||||
//echo "Do Build for ${$ImgRelease} - ${ImgVariant}"
|
//echo "Do Build for ${$ImgRelease} - ${ImgVariant}"
|
||||||
|
|||||||
Reference in New Issue
Block a user