Browse Source

'jenkinsfile-yocto_pyro' hinzufügen

master
stevo 6 years ago
parent
commit
5fabccbfbc
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      jenkinsfile-yocto_pyro

+ 30
- 0
jenkinsfile-yocto_pyro View 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…
Cancel
Save