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
antranigv has quit [Quit: ZNC 1.8.2 - https://znc.in]
antranigv has joined #buildbot
jrodman has joined #buildbot
<jrodman> Hi, have more silly newbie questions.  I'm trying to report automated build failure to slack.  I made an HTTPStep that can talk to slack, but I'm having a lot of trouble figuring out how to either determine that the previous test step failed, or just conditionally running the HTTPStep to communicate the failure
<jrodman> there's clearly the doStepIf= param you can use when declaring the step, but my understanding is this takes a callable that is provided the Step object, and ..well.. it comes down to not really knowing what's in the step object
<jrodman> i can see some people discussing construction of properties conditionally from steps, but i can't find in the docs how this works
<dol-sen> test step should have flunkOnFailure parameter set, then on your slack step check the main build status
<jrodman> huh, the overall build is getting set to failure in the UI, so i assumed there was a failure status already somewhere
<dol-sen> there is, in fact all steps results can be accessed in a later step
<dol-sen> my memory sucks lately, so don't remember specifics, but you can get a list of all steps results and check any/all for failures
<jrodman> i was trying to poke around in the build object code to figure it out but .. i dunno it wasn't coming
<jrodman> regardless, buildstep.build.results works with the flunkOnFailure
<dol-sen> that one checks for timeout, but shows the basic doStepif
<jrodman> for what it's worth, getStatus() seems gone
<dol-sen> if you need to check a step x steps previous, you can check the result [x] steps back
<dol-sen> hmm, I think it was suppose to be [-x]
<jrodman> yeah if i could find the steps i wouuld probably have figured it out
<jrodman> this helps if i need it later
<dol-sen> you can always create a custom function that takes step as a parameter, then check pretty much anything already done
<dol-sen> sorry I can't give you more specifics, it's been about 5 years since I was doing bbot coding
<jrodman> yeah, it's obviously possible, i just didn't know how to do it, but .. today i don't need to know either
jrodman has quit [Quit: Client closed]
mjw has quit [*.net *.split]
deepy has quit [*.net *.split]
Humbedooh has quit [*.net *.split]
glogan has quit [*.net *.split]
sknebel has quit [*.net *.split]
verm__ has quit [*.net *.split]
benbrown has quit [*.net *.split]
Zorry has quit [*.net *.split]
Foxboron has quit [*.net *.split]
dustinm` has quit [*.net *.split]
cmouse has quit [*.net *.split]
skelly- has quit [*.net *.split]
alicef has quit [*.net *.split]
manx has quit [*.net *.split]
Zash has quit [*.net *.split]
immae has quit [*.net *.split]
felixfontein has quit [*.net *.split]
tflink has quit [*.net *.split]
dol-sen has quit [*.net *.split]
kveremitz has quit [*.net *.split]
p12tic has quit [*.net *.split]
wielaard has quit [*.net *.split]
yongxiang has quit [*.net *.split]
tardyp has quit [*.net *.split]
ammar2 has quit [*.net *.split]
thm has quit [*.net *.split]
dottedmag has quit [*.net *.split]
rjarry has quit [*.net *.split]
antranigv has quit [*.net *.split]
mpbridge has quit [*.net *.split]
zware has quit [*.net *.split]
flx[m] has quit [*.net *.split]
koobs has quit [*.net *.split]
vmeson has quit [*.net *.split]
manx has joined #buildbot
immae has joined #buildbot
thm has joined #buildbot
rjarry has joined #buildbot
dottedmag has joined #buildbot
yongxiang has joined #buildbot
tardyp has joined #buildbot
ammar2 has joined #buildbot
Zorry has joined #buildbot
cmouse has joined #buildbot
skelly- has joined #buildbot
Zash has joined #buildbot
verm__ has joined #buildbot
sknebel has joined #buildbot
alicef has joined #buildbot
dol-sen has joined #buildbot
felixfontein has joined #buildbot
Foxboron has joined #buildbot
dustinm` has joined #buildbot
Humbedooh has joined #buildbot
glogan has joined #buildbot
flx[m] has joined #buildbot
deepy has joined #buildbot
zware has joined #buildbot
p12tic has joined #buildbot
mpbridge has joined #buildbot
mjw has joined #buildbot
wielaard has joined #buildbot
antranigv has joined #buildbot
koobs has joined #buildbot
vmeson has joined #buildbot
tflink has joined #buildbot
benbrown has joined #buildbot
kveremitz has joined #buildbot
koobs has quit [*.net *.split]
vmeson has quit [*.net *.split]
mjw has quit [*.net *.split]
deepy has quit [*.net *.split]
Humbedooh has quit [*.net *.split]
glogan has quit [*.net *.split]
sknebel has quit [*.net *.split]
verm__ has quit [*.net *.split]
benbrown has quit [*.net *.split]
Zorry has quit [*.net *.split]
Foxboron has quit [*.net *.split]
dustinm` has quit [*.net *.split]
cmouse has quit [*.net *.split]
skelly- has quit [*.net *.split]
alicef has quit [*.net *.split]
manx has quit [*.net *.split]
Zash has quit [*.net *.split]
immae has quit [*.net *.split]
felixfontein has quit [*.net *.split]
tflink has quit [*.net *.split]
dol-sen has quit [*.net *.split]
kveremitz has quit [*.net *.split]
wielaard has quit [*.net *.split]
p12tic has quit [*.net *.split]
yongxiang has quit [*.net *.split]
tardyp has quit [*.net *.split]
ammar2 has quit [*.net *.split]
thm has quit [*.net *.split]
dottedmag has quit [*.net *.split]
rjarry has quit [*.net *.split]
antranigv has quit [*.net *.split]
mpbridge has quit [*.net *.split]
zware has quit [*.net *.split]
flx[m] has quit [*.net *.split]
zware has joined #buildbot
rjarry has joined #buildbot
thm has joined #buildbot
skelly- has joined #buildbot
dottedmag has joined #buildbot
yongxiang has joined #buildbot
ammar2 has joined #buildbot
tflink has joined #buildbot
felixfontein has joined #buildbot
dol-sen has joined #buildbot
sknebel has joined #buildbot
verm__ has joined #buildbot
alicef has joined #buildbot
immae has joined #buildbot
manx has joined #buildbot
tardyp has joined #buildbot
kveremitz has joined #buildbot
Zash has joined #buildbot
benbrown has joined #buildbot
deepy has joined #buildbot
Zorry has joined #buildbot
Humbedooh has joined #buildbot
cmouse has joined #buildbot
dustinm` has joined #buildbot
Foxboron has joined #buildbot
wielaard has joined #buildbot
mjw has joined #buildbot
mpbridge has joined #buildbot
p12tic has joined #buildbot
koobs has joined #buildbot
antranigv has joined #buildbot
vmeson has joined #buildbot
mjw has quit [*.net *.split]
deepy has quit [*.net *.split]
Humbedooh has quit [*.net *.split]
sknebel has quit [*.net *.split]
verm__ has quit [*.net *.split]
benbrown has quit [*.net *.split]
Zorry has quit [*.net *.split]
Foxboron has quit [*.net *.split]
cmouse has quit [*.net *.split]
dustinm` has quit [*.net *.split]
skelly- has quit [*.net *.split]
alicef has quit [*.net *.split]
manx has quit [*.net *.split]
immae has quit [*.net *.split]
Zash has quit [*.net *.split]
felixfontein has quit [*.net *.split]
dol-sen has quit [*.net *.split]
tflink has quit [*.net *.split]
kveremitz has quit [*.net *.split]
wielaard has quit [*.net *.split]
p12tic has quit [*.net *.split]
yongxiang has quit [*.net *.split]
tardyp has quit [*.net *.split]
ammar2 has quit [*.net *.split]
thm has quit [*.net *.split]
mpbridge has quit [*.net *.split]
dottedmag has quit [*.net *.split]
rjarry has quit [*.net *.split]
antranigv has quit [*.net *.split]
zware has quit [*.net *.split]
wielaard has joined #buildbot
antranigv has joined #buildbot
mpbridge has joined #buildbot
deepy has joined #buildbot
mjw has joined #buildbot
Humbedooh has joined #buildbot
p12tic has joined #buildbot
zware has joined #buildbot
cmouse has joined #buildbot
dustinm` has joined #buildbot
Zorry has joined #buildbot
Foxboron has joined #buildbot
verm__ has joined #buildbot
benbrown has joined #buildbot
skelly- has joined #buildbot
sknebel has joined #buildbot
immae has joined #buildbot
felixfontein has joined #buildbot
manx has joined #buildbot
kveremitz has joined #buildbot
Zash has joined #buildbot
alicef has joined #buildbot
tflink has joined #buildbot
tardyp has joined #buildbot
dol-sen has joined #buildbot
ammar2 has joined #buildbot
dottedmag has joined #buildbot
yongxiang has joined #buildbot
rjarry has joined #buildbot
thm has joined #buildbot
mjw has quit [Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))]
mjw has joined #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
verm__ has quit [Read error: Connection reset by peer]
verm__ has joined #buildbot
flx[m] has joined #buildbot
glogan has joined #buildbot
mjw has quit [Killed (NickServ (GHOST command used by mark__!~mark@gnu.wildebeest.org))]
mark__ is now known as mjw
wielaard has joined #buildbot
<thm> in case of a shallow clone, the Git step does a "git checkout -f <rev>", which is bad, as it leaves the git in detached HEAD state.
<thm> wouldn't it be better to do additionally do a "git checkout -B <branch>" afterwards?