[Buildbot-devel] using stdout of one step as input to next step?

Stephen Davis buildbot at soundgeek.org
Wed Apr 30 05:50:22 UTC 2014

I have a build step that generates some stdout and I'd like it to be in the waterfall link AND be fed to the next step as its stdin.

macFactory.addStep( shell.ShellCommand( description="Perf Tests", descriptionDone="Perf Tests", command="build/Profile/MyApp.app/Contents/MacOS/MyApp -tests all -quitAfterLaunch YES -automated YES" ) )
macFactory.addStep( shell.ShellCommand( description="Perf DB Update", descriptionDone="Perf DB Update", command=["Scripts/PerfLogDBParser.py", "/Users/buildbot/slave/PerfResults.db", WithProperties( "%(got_revision)s" ) ], initialStdin=<<< output of previous step >>> ) )

I know there are some limitations on the size of initialStdin but the "perf tests" step really doesn't generate that much data so I think it should be fine.

Right now, I'm round-tripping through a file which works okay but a straight feed would be nicer in many ways.


More information about the devel mailing list