瀏覽代碼

'jenkinsfile-yocto_pyro' hinzufügen

master
stevo 6 年之前
父節點
當前提交
5fabccbfbc
共有 1 個文件被更改,包括 30 次插入0 次删除
  1. +30
    -0
      jenkinsfile-yocto_pyro

+ 30
- 0
jenkinsfile-yocto_pyro 查看文件

@@ -0,0 +1,30 @@
pipeline {
/* agent any */
agent {label 'rock'}
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
git checkout -b sumo origin/sumo
'''
}
}
stage('build poky') {
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
'''
}
}
}
}

Loading…
取消
儲存