[Buildbot-devel] Use of Interpolate in git source step

Kenny Ho kenny.ho at jamdeo.com
Mon Nov 4 16:48:19 UTC 2013


Hi Andrew,

I run into similar issue with the Repo step as well and I ended up replacing it with a ShellCommand step instead.  Interpolate hasn't been working in the source step for me for awhile.

Kenny
________________________________
From: andrew.inglis at optusnet.com.au [andrew.inglis at optusnet.com.au]
Sent: November 3, 2013 7:21 PM
To: buildbot-devel at lists.sourceforge.net
Subject: [Buildbot-devel] Use of Interpolate in git source step


Hi All,

Buildbot version 0.8.8

I'm new to buildbot so I may have miss-understood how this should work.

I would like to use Interpolate to specify branch and codebase parameter values in a Git source checkout step.

When I try this I get an exception as below.

/usr/local/lib/python2.7/dist-packages/buildbot/steps/source/git.py:313 in _dovccmd
312        cmd.useLog(self.stdio_log, False)
313        log.msg("Starting git command : git %s" % (" ".join(command), ))
314        d = self.runCommand(cmd)
exceptions.TypeError: sequence item 2: expected string, Interpolate found

I found an earlier post related to this but could see no outcome or resolution.

http://sourceforge.net/mailarchive/message.php?msg_id=B36CCE909F339D47A04EAFEF6C308F22507EE2%40ORD2MBX04C.mex05.mlsrvr.com

Should this work or am I trying to do something I shouldn't do?

Can anyone suggest a work around?

Thanks,

Andrew
________________________________
Email sent using Optus Webmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20131104/f1b3a4f8/attachment.html>


More information about the devel mailing list