jkf Testing
This commit is contained in:
1 parent
4a5c9d23f5
commit
5e96630b9f
1 file changed
+2
-7
Vendored
+2
-7
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user