Fixed jenkis file: Added clean commands to build sequents
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -67,6 +67,9 @@ pipeline {
|
|||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||||
sh '''
|
sh '''
|
||||||
cd $WORKSPACE/AlpinePackages/$Package
|
cd $WORKSPACE/AlpinePackages/$Package
|
||||||
|
abuild clean
|
||||||
|
abuild cleancache
|
||||||
|
abuild cleanpkg
|
||||||
abuild -r
|
abuild -r
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -81,6 +84,9 @@ pipeline {
|
|||||||
|
|
||||||
echo '#!/bin/ash
|
echo '#!/bin/ash
|
||||||
cd /home/jenkins/AlpinePackages/$1
|
cd /home/jenkins/AlpinePackages/$1
|
||||||
|
doas -u jenkins abuildclean
|
||||||
|
doas -u jenkins abuild clean cache
|
||||||
|
doas -u jenkins abuild cleanpkg
|
||||||
doas -u jenkins abuild -r
|
doas -u jenkins abuild -r
|
||||||
' > /chroot/$PkgArch/home/jenkins/RunBuild.sh
|
' > /chroot/$PkgArch/home/jenkins/RunBuild.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user