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

Maria Marcano mariangemarcano at gmail.com
Thu Aug 22 07:58:51 UTC 2013


Amber, thanks but I'm also running other commands that passes a "%"
parameter

Greetings,

*Maria Marcano*
-------------------------------------------------
*Software Developer  *
*Find me on*
*linkedin <http://www.linkedin.com/in/mariangemarcano> |
blogger<http://mariangemarcano.blogspot.com/>
 | twitter <http://twitter.com/mariangemarcano/>*


On Wed, Aug 21, 2013 at 8:13 PM, Amber Yust <amber.yust at gmail.com> wrote:

> 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/20130822/ff622b2c/attachment.html>


More information about the devel mailing list