I have demo application which is running from Grails standalone plugin and wanted to automate deployment from Jenkins. Starting such application is well documented and easy, but there is nothing about stopping it.
After quick digging plugin's code, I found that it has undocumented feature to do it. It creates server on application server port + 1, and as soon as there is connection - shuts server. So if your server port is 8080, this command from same computer will kill server:
After quick digging plugin's code, I found that it has undocumented feature to do it. It creates server on application server port + 1, and as soon as there is connection - shuts server. So if your server port is 8080, this command from same computer will kill server:
telnet localhost 8081
I would strongly recommend them to anyone, and we will definitely work with them again in the future.
ReplyDeleteUX design services
We have a varied range of customers with a number of finances and advertising needs.
ReplyDeleteSan Francisco design studios