jenkins: remove build history directory before collecting srcrevs
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
8ceb9fb75b
commit
af6f1b4c4e
|
|
@ -271,7 +271,7 @@ def getTopUpstreamBuildNumber() {
|
||||||
}
|
}
|
||||||
|
|
||||||
def getAutoRevHashes() {
|
def getAutoRevHashes() {
|
||||||
sh(script: "bash -c '. ./env.image-ostree && bitbake netmodule-linux-image-dev --runall=fetch'")
|
sh(script: "bash -c '. ./env.image-ostree && rm -rf buildhistory && bitbake -f netmodule-linux-image-dev --runall=fetch'")
|
||||||
def revs = sh(returnStdout: true, script: "bash -c \". ./env.image-ostree > /dev/null && buildhistory-collect-srcrevs\"").trim()
|
def revs = sh(returnStdout: true, script: "bash -c \". ./env.image-ostree > /dev/null && buildhistory-collect-srcrevs\"").trim()
|
||||||
return revs
|
return revs
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue