diff --git a/jenkinsfile-yocto_pyro b/jenkinsfile-yocto_pyro new file mode 100644 index 0000000..69d1774 --- /dev/null +++ b/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 + ''' + } + } + } +} \ No newline at end of file