'jenkinsfile-yocto_pyro' hinzufügen
This commit is contained in:
parent
a86906cfb6
commit
5fabccbfbc
30
jenkinsfile-yocto_pyro
Normal file
30
jenkinsfile-yocto_pyro
Normal file
@ -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…
x
Reference in New Issue
Block a user