verm__ changed the topic of #buildbot to: A Software Freedom Conservancy Project | Buildbot-3.5.0 | docs: http://docs.buildbot.net/current/ | tutorial: http://docs.buildbot.net/current/tutorial | irclogs: https://libera.irclog.whitequark.org/buildbot
mjw has quit [Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))]
wielaard is now known as mjw
mark_ has joined #buildbot
<_hc[m]> I need a build job to generate a URL that links to the build's page in the buildbot website. in GitLab CI, I'd do that via env vars. I haven't found a way to do that here
<_hc[m]> is there a way to make buildbot put the build properties into the env?
<_hc[m]> right I've worked with the properties before, I just need a way to pass them to the script that is running in the buildbot build
<_hc[m]> step
<_hc[m]> I guess Interpolate is the key, I tried... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/52376e1f711dc0718005d1a670e5c522143bfb0d)
<_hc[m]> but that returns an int, so env barfs on that
<Zash> Something something %(prop:buildnumber)s
<glogan> That ^
<glogan> Or use interpolate, which spits out strings.
<Zash> If your goal is an URL I'd tried something like `util.Interpolate("https://buildbot.example/#/builders/%(????)s/builds/%(prop:buildnumber)s")`
<_hc[m]> that worked! thanks. The other missing piece is the builder number, which is `%(????)s` in your example
<_hc[m]> I found `buildername`, but that gives a name that doesn't seem to work in place of the number
<Zash> hm, I don't see that one in the build properties tab
<Zash> something `builderid` maybe?
<_hc[m]> yeah, its not in the build properties tab for me either
<Zash> noticed under debug, so I imagine it should be reachable somehow
<Zash> have an existing build thing interpolating in the build number so I knew that's supposed to work already
<glogan> prop:buildnumber
<_hc[m]> `buildnumber` works fine, but no luck with `builderid`
mjw has quit [Quit: Leaving]
mark_ is now known as mjw
alicef has quit [Quit: install gentoo]
alicef has joined #buildbot
tgamblin has joined #buildbot
mjw has quit [Quit: Leaving]