Start jetty server in the background
Hi all,
Is anyone aware of any way to start jetty server in the background for integration test?
I'd the following command in my appveyor.yml file:
- git clone https://github.com/wing328/swagger-samples && cd swagger-samples/java/java-jaxrs && START /MIN /B "" "C:\maven\apache-maven-3.2.5\bin\mvn" jetty:run
But the jetty server runs in the console (not background)
https://ci.appveyor.com/project/WilliamCheng/swagger-codegen/build/csharp_nunit_ci-113
Anyone able to run the Jetty server in the background or as a service?
Thanks,
William
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 21 Jul, 2016 04:45 PM
Use Start-Process cmdlet, something like:
2 Posted by wing328hk on 21 Jul, 2016 05:35 PM
Thank you for the prompt reply. It works!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:07 AM.