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,9 +130,11 @@ def printJobParameters() {
|
||||||
|
|
||||||
|
|
||||||
def build(envType, imgType) {
|
def build(envType, imgType) {
|
||||||
|
sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) {
|
||||||
def envPostFix = "${envType}" == "" ? "" : "-${envType}"
|
def envPostFix = "${envType}" == "" ? "" : "-${envType}"
|
||||||
sh "bash -c '. ./env.image${envPostFix} > /dev/null && bitbake -q -k virtual/netmodule-image'"
|
sh "bash -c '. ./env.image${envPostFix} > /dev/null && bitbake -q -k virtual/netmodule-image'"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def createArchive(imgType, outputDir) {
|
def createArchive(imgType, outputDir) {
|
||||||
|
|
|
||||||
|
|
@ -152,10 +152,12 @@ def cleanLeftOvers(cleaningDir) {
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
def build(imgType) {
|
def build(imgType) {
|
||||||
|
sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) {
|
||||||
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 > /dev/null && bitbake -q -k netmodule-linux-image${imgTypePostfix}'"
|
sh "bash -c '. ./env.image-ostree > /dev/null && bitbake -q -k netmodule-linux-image${imgTypePostfix}'"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
def createBslPackage(outputDir, machine) {
|
def createBslPackage(outputDir, machine) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue