Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
504c0978be linux-blackfinn: Add Jenkinsfile
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
2019-03-08 10:35:41 +01:00

4
Jenkinsfile vendored
View File

@ -14,12 +14,14 @@ pipeline {
stage('Fetch') {
script {
if(params.MACHINE == 'beaglebone-yocto') {
echo "Fetch for beaglebone-yocto"
sh """#!/bin/bash
source bbb-init-build-env
bitbake console-image --runall=fetch
"""
}
else if(params.MACHINE == 'raspberrypi3-64') {
echo "Fetch for raspberrypi3-64"
sh """#!/bin/bash
source rpi-init-build-env
bitbake console-image --runall=fetch
@ -30,12 +32,14 @@ pipeline {
stage('Build') {
script {
if(params.MACHINE == 'beaglebone-yocto') {
echo "Build for beaglebone-yocto"
sh """#!/bin/bash
source bbb-init-build-env
bitbake console-image
"""
}
else if(params.MACHINE == 'raspberrypi3-64') {
echo "Build for raspberrypi3-64"
sh """#!/bin/bash
source rpi-init-build-env
bitbake console-image