> Le 6 avril 2017 à 10:40, "nicolas.lecureuil nicolas.lecureuil" 
> <[email protected]> a écrit :
> 
> 
> 
>         > > Le 6 avril 2017 à 10:13, Pierre Tardy <[email protected]> a écrit :
> > 
> > 
> >             > > > 
> > >             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 
> > 
> >     > 
> 
>     sorry:
> 
>     i have
> 
>     self._workdir = os.path.join(self._buildroot, self._projectdir)
> 
> 
>     the complete function is:
> 
>     https://pastebin.com/EbyvE9BH
> 

i still don't pass to use Interpolate, i think i missed a detail somewhere


Is my paste enough to understand or do you need the whole master.cfg file ?
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to