[OpenStack-Infra] Injecting properties for jenkins job

James E. Blair jeblair at openstack.org
Sat May 10 13:05:31 UTC 2014


On May 10, 2014 7:37:36 AM EDT, Andreas Jaeger <aj at suse.com> wrote:
>On 05/10/2014 09:22 AM, Andreas Jaeger wrote:
>> My patch https://review.openstack.org/#/c/93129/ to inject properties
>> failed, see for example
>>
>http://logs.openstack.org/24/93124/1/check/gate-openstack-manuals-tox-doc-publish-checkbuild/7c11a50
>> ;(
>>
>> It calls /usr/local/jenkins/slave_scripts/docbook-properties.sh which
>> depends on ZUUL_REFNAME - and ZUUL_REFNAME seems not to be set during
>> the gate.
>>
>> The jobs that including injecting as post job work just fine:
>>
>>
>http://logs.openstack.org/b9/b9edba45d6c174800f1e50f19704fa82e1a1322f/post/openstack-manuals-tox-doc-publishdocs/f9d62f7/console.html
>
>No, it does not work - I guess since we do not reuse the VMs anymore. 
>The injection file is created correctly but removed later on.
>
>But we can pass the values manually to our tools, so I found a solution
>
>that works for now and thus there's no urgency any more.
>
>Still, I'd like to have this properly solved at some time...
>
>> The patch has been reverted now and I'd like to hear how to fix it
>> properly so that the information gets injected during the gate
>> (check/gate jobs). Do I need to check another variable? Or place the
>> invocation as part of the builder section?
>
>Andreas
>-- 
> Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
>   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>  GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
>   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
>
>_______________________________________________
>OpenStack-Infra mailing list
>OpenStack-Infra at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

You should be able to create the file then source it and run the build scripts all within a single shell builder.  That is important because the shell execution environment is reset when a new shell builder starts.

-Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20140510/32326001/attachment.html>


More information about the OpenStack-Infra mailing list