Class Main
java -jar jenkins.war.
On a high-level architectural note, this class is intended to be a very thin wrapper whose primary purpose is to extract Winstone and delegate to Winstone's own initialization mechanism. The logic in this class should only perform Jenkins-specific argument and environment validation and Jenkins-specific Winstone customization prior to delegating to Winstone.
In particular, managing the logging subsystem is completely delegated to Winstone, and this class should neither assume that logging has been initialized nor take advantage of the logging subsystem. In the event that this class needs to print information to the user, it should do so via the standard output (stdout) and standard error (stderr) streams rather than via the logging subsystem. Such messages should generally be avoided except for fatal scenarios, such as an inappropriate Java Virtual Machine (JVM) or some other serious failure that would preclude starting Winstone.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
- Throws:
IllegalAccessException
-
whoAmI
Figures out the URL ofjenkins.war.
-