Jenkinsfiles: Execute commands silently
This commit is contained in:
parent
dcc5b24f9e
commit
d9f7f04bfc
|
|
@ -145,7 +145,7 @@ def syncSources(src, dst) {
|
||||||
}
|
}
|
||||||
|
|
||||||
sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) {
|
sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) {
|
||||||
sh "rsync -auvz --ignore-existing -e \"ssh\" ${from}/* ${to}"
|
sh "rsync -q -auvz --ignore-existing -e \"ssh\" ${from}/* ${to}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 -k virtual/netmodule-image'"
|
sh "bash -c '. ./env.image${envPostFix} && 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 -k netmodule-linux-image${imgTypePostfix}'"
|
sh "bash -c '. ./env.image-ostree && bitbake -q -k netmodule-linux-image${imgTypePostfix}'"
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -80,10 +80,10 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if(env.IS_NM_LINUX_SDK.toBoolean()) {
|
if(env.IS_NM_LINUX_SDK.toBoolean()) {
|
||||||
sh "bash -c '. ./env.image-ostree && bitbake netmodule-linux-sdk'"
|
sh "bash -c '. ./env.image-ostree && bitbake -q netmodule-linux-sdk'"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sh "bash -c '. ./env.image-ostree && bitbake -fc populate_sdk netmodule-linux-image-dev'"
|
sh "bash -c '. ./env.image-ostree && bitbake -q -fc populate_sdk netmodule-linux-image-dev'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -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 -c cleanall netmodule-linux-sdk'"
|
sh "bash -c '. ./env.image-ostree && bitbake -q -c cleanall netmodule-linux-sdk'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue