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
<glogan> That I'm not sure. It'd be easy enough to test thoigh
<glogan> Passing it the working directory would be using util.Property or util.Interpolate
<glogan> It's just a question of what runs where. I'd almost bet that doStepIf runs on the worker.
<TheOnlyJoey> hmm yeah i am going to give it a quick run in a bit to check what runs where
_whitelogger has joined #buildbot
manx has quit [Quit: manx]
manx has joined #buildbot
<TheOnlyJoey> glogan: Hmm it seems print's are not outputting to stdout in doStepIf, so its hard to know for sure, but it seems it is not executing on the worker
<glogan> I'd be tempted to look up the code for https://docs.buildbot.net/latest/manual/configuration/steps/worker_filesystem.html#fileexists and extend it then
<glogan> Instead of failing the build, set a property and then check the value of that property in the next step.
<Zash> does that have `haltOnFailure` etc?
<TheOnlyJoey> glogan: yeah that is kind of the direction i am leaning against now, splitting it up in 2 steps basically
<glogan> Zash has a point, you might be able to false the halt in failure.
<Zash> That alone might not solve the problem tho, unless the result is already recorded somewhere for you to use
<TheOnlyJoey> https://hastebin.skyra.pw/upemihipih.py This seems to be the easiest way to do the check
<TheOnlyJoey> and then use the variable in the next step for the doStepIf
<glogan> Yep that'd do the trick.
<TheOnlyJoey> I might be missing something but doStepIf=util.Property('FileFound') == True seems not to trigger for me (been a long weekend so feel free to scold at me for missing something obvious haha)
<TheOnlyJoey> ugh nvm i am being dumb
<Zash> Seems like something that ought to be easier than remotely shelling out to a Python subprocess... File a feature request? :)
SirScott has quit [Quit: The Lounge - https://thelounge.chat]
SirScott has joined #buildbot