jenkins/sdk: fetch all before cleaning all
BugzID: 74051 Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
e7d3a5a4e7
commit
bc7ef4cd89
|
|
@ -120,6 +120,7 @@ def printJobParameters() {
|
||||||
def cleanLastBuildArtifacts() {
|
def cleanLastBuildArtifacts() {
|
||||||
println "cleaning artifacts from last build..."
|
println "cleaning artifacts from last build..."
|
||||||
sh "rm -f ${env.YOCTO_DEPLOYS}/*"
|
sh "rm -f ${env.YOCTO_DEPLOYS}/*"
|
||||||
|
sh "bash -c 'git fetch -ap'"
|
||||||
sh "bash -c '. ./env.image-ostree && bitbake -c cleanall netmodule-linux-sdk'"
|
sh "bash -c '. ./env.image-ostree && bitbake -c cleanall netmodule-linux-sdk'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue