Compare commits
1 Commits
504c0978be
...
52bb621d1f
Author | SHA1 | Date | |
---|---|---|---|
|
52bb621d1f |
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -14,14 +14,12 @@ pipeline {
|
|||||||
stage('Fetch') {
|
stage('Fetch') {
|
||||||
script {
|
script {
|
||||||
if(params.MACHINE == 'beaglebone-yocto') {
|
if(params.MACHINE == 'beaglebone-yocto') {
|
||||||
echo "Fetch for beaglebone-yocto"
|
|
||||||
sh """#!/bin/bash
|
sh """#!/bin/bash
|
||||||
source bbb-init-build-env
|
source bbb-init-build-env
|
||||||
bitbake console-image --runall=fetch
|
bitbake console-image --runall=fetch
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
else if(params.MACHINE == 'raspberrypi3-64') {
|
else if(params.MACHINE == 'raspberrypi3-64') {
|
||||||
echo "Fetch for raspberrypi3-64"
|
|
||||||
sh """#!/bin/bash
|
sh """#!/bin/bash
|
||||||
source rpi-init-build-env
|
source rpi-init-build-env
|
||||||
bitbake console-image --runall=fetch
|
bitbake console-image --runall=fetch
|
||||||
@ -32,14 +30,12 @@ pipeline {
|
|||||||
stage('Build') {
|
stage('Build') {
|
||||||
script {
|
script {
|
||||||
if(params.MACHINE == 'beaglebone-yocto') {
|
if(params.MACHINE == 'beaglebone-yocto') {
|
||||||
echo "Build for beaglebone-yocto"
|
|
||||||
sh """#!/bin/bash
|
sh """#!/bin/bash
|
||||||
source bbb-init-build-env
|
source bbb-init-build-env
|
||||||
bitbake console-image
|
bitbake console-image
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
else if(params.MACHINE == 'raspberrypi3-64') {
|
else if(params.MACHINE == 'raspberrypi3-64') {
|
||||||
echo "Build for raspberrypi3-64"
|
|
||||||
sh """#!/bin/bash
|
sh """#!/bin/bash
|
||||||
source rpi-init-build-env
|
source rpi-init-build-env
|
||||||
bitbake console-image
|
bitbake console-image
|
||||||
|
Loading…
Reference in New Issue
Block a user