jenkins/ramdisk/mmc: provide ssh credential for build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
bc58edf65d
commit
526eb8729b
|
|
@ -130,8 +130,10 @@ def printJobParameters() {
|
|||
|
||||
|
||||
def build(envType, imgType) {
|
||||
sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) {
|
||||
def envPostFix = "${envType}" == "" ? "" : "-${envType}"
|
||||
sh "bash -c '. ./env.image${envPostFix} > /dev/null && bitbake -q -k virtual/netmodule-image'"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -152,9 +152,11 @@ def cleanLeftOvers(cleaningDir) {
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
def build(imgType) {
|
||||
sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) {
|
||||
def tgtImgType = "${imgType}" == "bootloader" ? "dev" : "${imgType}"
|
||||
def imgTypePostfix = "${tgtImgType}" == "" ? "" : "-${tgtImgType}"
|
||||
sh "bash -c '. ./env.image-ostree > /dev/null && bitbake -q -k netmodule-linux-image${imgTypePostfix}'"
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue