浏览代码

'jenkinsfile-yocto_pyro' ändern

master
stevo 6 年前
父节点
当前提交
9ee710e48e
共有 1 个文件被更改,包括 12 次插入4 次删除
  1. +12
    -4
      jenkinsfile-yocto_pyro

+ 12
- 4
jenkinsfile-yocto_pyro 查看文件

@@ -1,12 +1,11 @@
pipeline {
/* agent any */
agent {label 'rock'}
agent {label 'master'}
stages {
stage('clone poky sumo') {
steps {
sh '''#!/bin/bash
set -x
cd /media/data_ssh
rm -fr *
git clone git://git.yoctoproject.org/poky
cd poky
@@ -14,14 +13,23 @@ pipeline {
'''
}
}
stage('build poky') {
stage('fetch sources for build') {
steps {
sh '''#!/bin/bash
set -x
cd /media/data_ssh
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
'''
}


正在加载...
取消
保存