[users at bb.net] Triggering Schedulers & WithProperties

shyamchander guptha shyamchander01 at gmail.com
Tue Nov 3 05:11:31 UTC 2015


Ping...

On Mon, Nov 2, 2015 at 4:25 PM, shyamchander guptha <
shyamchander01 at gmail.com> wrote:

> Hello Everyone
>
>
>
> Am trying to use the WithProperties in Triggering Schedulers in a add step
> ( according to this link
> http://docs.buildbot.net/0.8.4p2/Triggering-Schedulers.html#Triggering-Schedulers
> ),
>
> Trigger support WithProperties for dynamically construct new property
> values.  Here is the snipshot of the master configuration file and when am
> trying to configurating with hitting with errors
>
> Suggestion and welcome.
>
>
>
> *Target : I need to use the same properties whatever parent job using same
> has to be used in child job*.
>
>
> *sandboxfactory.addStep(*
>
> *         trigger.Trigger(*
>
> *         schedulerNames=['installer-job'],*
>
> *         waitForFinish=True,*
>
> *         WithProperties("HOST_OS=%(buildername)s")))*
>
>
>
>
>
> Configuration error :
>
>
>
> 2015-11-02 09:34:48+0000 [-]      File
> "/home/bb/env/bin/lib/python2.7/site-packages/buildbot/config.py", line
> 149, in loadConfig
>
> 2015-11-02 09:34:48+0000 [-]        exec f in localDict
>
> 2015-11-02 09:34:48+0000 *[-]    exceptions.SyntaxError: non-keyword arg
> after keyword arg (master.cfg, line 351)*
>
> 2015-11-02 09:34:48+0000 [-]
>
> 2015-11-02 09:34:48+0000 [-] 2015-11-02 09:34:47+0000 [-] error while
> parsing config file: non-keyword arg after keyword arg (master.cfg, line
> 351) (traceback in logfile)
>
> 2015-11-02 09:34:48+0000 [-] 2015-11-02 09:34:47+0000 [-] reconfig aborted
> without making any changes
>
> 2015-11-02 09:34:48+0000 [-]
>
> 2015-11-02 09:34:48+0000 [-] Reconfiguration failed. Please inspect the
> master.cfg file for errors,
>
> 2015-11-02 09:34:48+0000 [-] correct them, then try 'buildbot reconfig'
> again.
>
> 2015-11-02 09:34:48+0000 [-]
>
> 2015-11-02 09:34:48+0000 [-] Main loop terminated.
>
>
>
> Best Regards,
>
> ShyamChandar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20151103/69b01685/attachment.html>


More information about the users mailing list