[users at bb.net] question about use of Interpolate

Pierre Tardy tardyp at gmail.com
Thu Apr 6 08:13:39 UTC 2017


>
> Hi,
>
>
> i have forgottent a big detail, i am using bb 0.8.9 ( as i need to port to
> bb 0.9.x in a second step but i want as a first step a working buildbot ( i
> am not that far from this :) )
>
You can at least upgrade to 0.8.12, and get new style steps.


>
> so if i use:
>
> f1.addStep(shell.SetPropertyFromCommand(command='grep version setup.py |
> grep = | cut -d = -f2 | cut -d"\'" -f2 ', property="upstreamPkgVer"))
>
>
> for now i have :
>
> self.addStep(UpstreamGetVersion(workdir=self._workdir))
> self.addStep(DebComputeNewVersion(master_path=self._base_master_path,
> pkg_url=self._base_pkg_url))
>
> if i use
>
>
>
> f1.addStep(shell.SetPropertyFromCommand(command='grep version setup.py |
> grep = | cut -d = -f2 | cut -d"\'" -f2 ', property="upstreamPkgVer"))
>
>
> i obtain  :
>
>
> LINE: pulse-agent-plugins (grep: setup.py: Aucun fichier ou dossier de ce
> type+git20170405233946.ea174fc-1) UNRELEASED; urgency=medium
>

I think this is just the problem of workdir. looks like you have some
specific workdir management in your master.cfg which you did not publish,
so its not easy for me to help

You can use export LANG=C before starting your workers to disable french
i18n for your workers.

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170406/eeb8422c/attachment.html>


More information about the users mailing list