multiple jenkins files for build of yocto images
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- pipeline {
- /* agent any */
- agent {label 'master'}
- stages {
- stage('clone poky sumo') {
- steps {
- sh '''#!/bin/bash
- set -x
- rm -fr *
- git clone git://git.yoctoproject.org/poky
- cd poky
- git checkout -b sumo origin/sumo
- '''
- }
- }
- stage('fetch sources for build') {
- steps {
- sh '''#!/bin/bash
- set -x
- cd poky
- source oe-init-build-env
- # ln -s /media/data/.yoctoshare/downloads ./downloads
- bitbake core-image-minimal --runall=fetch
- '''
- }
- }
- stage('build poky image') {
- steps {
- sh '''#!/bin/bash
- set -x
- cd poky
- source oe-init-build-env
- bitbake core-image-minimal
- '''
- }
- }
- }
- }
|