30 lines
778 B
Plaintext
30 lines
778 B
Plaintext
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
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
} |