Jenkinsfiles: Hide bitbake welcome message
This commit is contained in:
parent
d9f7f04bfc
commit
9a4f1db328
|
|
@ -125,7 +125,7 @@ def printJobParameters() {
|
||||||
|
|
||||||
def build(envType, imgType) {
|
def build(envType, imgType) {
|
||||||
def envPostFix = "${envType}" == "" ? "" : "-${envType}"
|
def envPostFix = "${envType}" == "" ? "" : "-${envType}"
|
||||||
sh "bash -c '. ./env.image${envPostFix} && bitbake -q -k virtual/netmodule-image'"
|
sh "bash -c '. ./env.image${envPostFix} > /dev/null && bitbake -q -k virtual/netmodule-image'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,7 @@ def cleanLeftOvers(cleaningDir) {
|
||||||
def build(imgType) {
|
def build(imgType) {
|
||||||
def tgtImgType = "${imgType}" == "bootloader" ? "dev" : "${imgType}"
|
def tgtImgType = "${imgType}" == "bootloader" ? "dev" : "${imgType}"
|
||||||
def imgTypePostfix = "${tgtImgType}" == "" ? "" : "-${tgtImgType}"
|
def imgTypePostfix = "${tgtImgType}" == "" ? "" : "-${tgtImgType}"
|
||||||
sh "bash -c '. ./env.image-ostree && bitbake -q -k netmodule-linux-image${imgTypePostfix}'"
|
sh "bash -c '. ./env.image-ostree > /dev/null && bitbake -q -k netmodule-linux-image${imgTypePostfix}'"
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ 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 'git fetch -ap'"
|
||||||
sh "bash -c '. ./env.image-ostree && bitbake -q -c cleanall netmodule-linux-sdk'"
|
sh "bash -c '. ./env.image-ostree > /dev/null && bitbake -q -c cleanall netmodule-linux-sdk'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue