[yocto] [yocto and jenkins]

Insop Song insop.song at gmail.com
Mon Jun 2 15:38:43 PDT 2014


All,

I've been building yocto using jenkins.

I want to include yocto's build environment variable "BUILD_NUMBER" to
yocto's kernel.

1, I've tried this in one of my conf file, add

GS_SDK_VERSION = "GS-SDK-V1.5-${BUILD_NUMBER}"

But ${BUILD_NUMBER} is not expended


2, I've looked at Keon's example from
https://git.linaro.org/openembedded/jenkins-setup.git

I've put the following in conf/local.conf

JENKINS_BUILD_NUMBER = "`echo ${BUILD_NUMBER}`"

Then add GS_SDK_VERSION = "GS-SDK-V1.5-${JENKINS_BUILD_NUMBER}"

It still doesn't expand.

So my question is

- how to include environment variable to yocto's running?

Thank you,

Insop



More information about the yocto mailing list