From 5fabccbfbc2f9455e0dddb82af38fd4204a70c16 Mon Sep 17 00:00:00 2001 From: stevo Date: Fri, 21 Sep 2018 06:55:49 +0000 Subject: [PATCH] =?UTF-8?q?'jenkinsfile-yocto=5Fpyro'=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jenkinsfile-yocto_pyro | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 jenkinsfile-yocto_pyro 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