[Buildbot-devel] Start up a server during build process...
menzer at apple.com
Sat Mar 17 05:47:51 UTC 2012
Maybe something like:
step 1 - git checkout project
step 2 - bundle install
step 3 - bundle exec sc-server --pid-file=sc-server.pid &
step 4 - unit test
step 5 - more unit tests
step 6 - kill -9 `cat sc-server-pid`
In step 3 I made up the "--pid-file=sc-server.pid" option and I made the assumption that sc-server will run in the background after the parent shell exits. Both of these ideas are not true about sc-server - you'll have to work around that.
On Mar 16, 2012, at 6:54 PM, Jarod McBride wrote:
> Is there a way to start up a rails or sproutcore server in a build step and then have to continue running through the build and shutdown later? For example...
> step 1 - git checkout project
> step 2 - bundle install
> step 3 - bundle exec sc-server
> step 4 - unit test
> step 5 - more unit tests
> step 6 - quit sc-server
> Right now the best method I have found is that I have to start up the server at each step. Is there another way to do it?
More information about the devel