jenkins/sdk: fetch all before cleaning all

BugzID: 74051
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2021-08-02 11:12:33 +02:00
parent e7d3a5a4e7
commit bc7ef4cd89
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ def printJobParameters() {
def cleanLastBuildArtifacts() {
println "cleaning artifacts from last build..."
sh "rm -f ${env.YOCTO_DEPLOYS}/*"
sh "bash -c 'git fetch -ap'"
sh "bash -c '. ./env.image-ostree && bitbake -c cleanall netmodule-linux-sdk'"
}