maxfields2000 / dockerjenkins_tutorial

A repository for items learned in my Getting Started with Jenkins and Docker tutorial series
Apache License 2.0
737 stars 325 forks source link

Fix: Lock jenkins image version for tutorial_01 #21

Closed hwndept closed 8 years ago

hwndept commented 8 years ago

Context

It was impossible to run latest jenkins image with environment variables you specified

Running from: /usr/share/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at Main._main(Main.java:246)
    at Main.main(Main.java:91)
Caused by: java.lang.IllegalArgumentException: Unrecognized option: --handlerCountStartup=100
    at winstone.cmdline.CmdLineParser.parse(CmdLineParser.java:53)
    at winstone.Launcher.getArgsFromCommandLine(Launcher.java:359)
    at winstone.Launcher.main(Launcher.java:332)
    ... 6 more

Scope of changes

maxfields2000 commented 8 years ago

Closing this, accepted the other pull request insetad, both accomplish the same thing.