Mise à jour de 'Jenkinsfile'

This commit is contained in:
dany 2022-08-08 00:32:31 +02:00
parent 16638c993f
commit 16cda0ba2f

16
Jenkinsfile vendored
View File

@ -24,7 +24,6 @@ pipeline{
image 'xsangle/ci-yocto:focal' image 'xsangle/ci-yocto:focal'
// args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http' // args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
reuseNode true reuseNode true
registryUrl 'http://workstation:5000/'
} }
} }
steps { steps {
@ -40,6 +39,21 @@ pipeline{
''' '''
} }
} }
stage('Build SDK') {
agent {
docker {
image 'xsangle/ci-yocto:focal'
reuseNode true
}
}
steps {
sh '''#!/bin/bash
cd poky
source ./oe-init-build-env ../build
bitbake core-image-base -c populate_sdk
'''
}
}
stage('Archive') { stage('Archive') {
steps { steps {
script { script {