[Buildbot-devel] ShellCommand is failing when running with certain parameter

Amber Yust amber.yust at gmail.com
Wed Aug 21 18:13:16 UTC 2013


Well, I can't fix your format string issue, but I can give you a
workaround...

git rev-parse HEAD

...is equivalent to...

git log --format="%H" -1


On Wed, Aug 21, 2013 at 6:16 AM, Olof Johansson <olof.johansson at axis.com>wrote:

> On 13-08-21 15:12 +0200, Maria Marcano wrote:
> > Olof, I've tried %%, which makes it work on windows but fails
> > on mac, I'm looking for a way to fix the problem in all
> > platforms :-)
>
> Yeah, I was about to add that this would make it work on Windows
> and only Windows. Sorry about that :-(. Having it work on both
> platforms is probably a little bit more tricky I reckon.
>
> --
> olofjn
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130821/3eac1dec/attachment.html>


More information about the devel mailing list