Jenkinsfile: native build will now also purge packages before starting to build
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -58,7 +58,10 @@ pipeline {
|
||||
if("${NativeArch}" == "${PkgArch}") {
|
||||
println("Building ${PkgArch}(${PkgArchNormalized}) Native on ${NativeArch}(${NativeArchNormalized})")
|
||||
|
||||
sh 'doas apk update'
|
||||
sh '''
|
||||
rm -rf /home/jenkins/AlpinePackages/$PkgArch
|
||||
doas apk update
|
||||
'''
|
||||
|
||||
for(Package in PackageList.split()) {
|
||||
env.Package = Package
|
||||
|
||||
Reference in New Issue
Block a user