[Buildbot-devel] Problem with buildbot configuration for building debian packages

Charles Lepple clepple at gmail.com
Fri Jul 3 02:26:25 UTC 2015


On Jul 2, 2015, at 8:30 PM, joguerrero at cnti.gob.ve wrote:

> I used 'SetPropertyFromCommand' because I thought it could be a 
> convenient way to capture and store the name and version variables for 
> later use with the 'WithProperties' method, but now I think something is 
> failing there. I am not sure if the variables are actually being stored. 
> Is there a way to verify this?

You are correct - the properties (variables) are being set to an error message rather than a filename. Check the "Build Properties" table in the build status:

http://200.11.148.221:8010/builders/canaima-curiara-amd64/builds/21

Also, you might want to use the builddir property instead of "$(pwd)" in the "--directory=" parameter. Usually, the shell expands "$(pwd)". When you pass a list of strings to a ShellCommand, after the WithProperties() are expanded, the list is like the argv parameter to execve() in C. To get system() behavior (where everything is passed to "sh -c"), you can pass a single string (can be inside a single WithProperties()), but then you might run into problems with quoting.

-- 
Charles Lepple
clepple at gmail







More information about the devel mailing list