Re: [sbt] CI with SBT

39 views
Skip to first unread message

Doug Tangren

unread,
Feb 14, 2013, 3:20:14 PM2/14/13
to simple-b...@googlegroups.com


On Thu, Feb 14, 2013 at 12:20 PM, Ariel Kogan <ar...@kogan.com.ar> wrote:
Hello,

I want to use Jenkins to build and stress-test my service. I have the following build steps:

1) sbt container:start
2) Execute shell script that runs stress test using Gaitling
3) sbt container:stop

The issue is that sbt is called followed by container:start on the command line (not the sbt shell) so it starts Jetty and then closes it making it unavailable for the stress-test tool to hit the service.

Do anyone have any ideas of how to fix this situation without using Maven or Gradle to start Jetty with?



I wouldn't not stress test via sbt but rather define a main object to bootstrap jetty and your app, use assembly-sbt to bundle everything on the cp into a standalone jar then run that via java -jar ...
 
Thank you,


Ariel

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages