[Buildbot-devel] env variables from last step
benoit.allard at greenbone.net
Fri Nov 7 10:33:07 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 11/07/2014 08:39 AM, Kevin Funk wrote:
> On Wednesday 05 November 2014 13:08:55 Nachaat Hassis wrote:
>> Hello, im facing this problem: I have an executable which sets
>> for me many env variables (can't change that since its a tool
>> which comes with a workbench). is there a way to execute that
>> executable and run the next step in the same env?
>> thanks for your help, cheers.
> There's a pretty generic and working solution I've been using for
> several months already. This solution is basically extracting the
> current env of a step into a property (using SetProperty + some
> extract_fn), which can then just be reused in consecutive steps.
> It has been discussed on SO: http://stackoverflow.com/a/17721123
> PS: I'm all for bringing some native support for this in Buildbot
> itself, though. I think it's a fairly valid use-case.
I believe this is indeed a common trouble. Think "virtualenv", or
think Microsoft's "vcvarsall.bat".
Would you mind trying to elaborate Github Pull-Request with that ? I'd
be glad to assist you, would you need so !
Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the devel