[Buildbot-devel] Start up a server during build process...

Amber Yust ayust at yelp.com
Sat Mar 17 17:20:52 UTC 2012


Note that you can use nohup to give any process that behavior.

~Amber

On Fri, Mar 16, 2012 at 10:47 PM, Matisse Enzer <menzer at apple.com> wrote:

> 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.
>
> -M
>
> 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?
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120317/c5471fa9/attachment.html>


More information about the devel mailing list