rcjenkins and rcjenkins.bat

I got fed up a little with the rather simplistic startjenkins.bat scripts I came across during the last couple of months. All these startjenkins.bat scripts occupy a DOS box with output that nobody ever looks at — and what are these windows good for? For stopping Jenkins through a brute-force Ctrl-C.

I always expect log output to go to a file, in case it is important enough.
If you want to really see Jenkins logs, get them here:

  • http://HOST:8080/jenkins/log/

The Jenkins WAR file comes with the winstone servlet container, that’s a little like an application server. And you are able to control the application loaded (Jenkins in this case) through communicating with the servlet container. (Actually … you could also run the Jenkins WAR within an ordinary, full-flegded application server like Tomcat, Glassfish, or whatever.)

So …
I worked on an rcjenkins Shell script and an rcjenkins.bat. You can run them without adminstrative priviliges. They take Jenkins down by sending the servlet container a shutdown command.

I do consider putting these script in my github space.


Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.