Automating First-Time Configuration

1,360 views
Skip to first unread message

Karl Davis

unread,
Apr 6, 2016, 12:21:24 PM4/6/16
to Jenkins Users
Howdy all!

Just starting to play around a bit with the Jenkins 2 beta, and--as a devops guy--I'm of course interested in automating the installation and configuration of it all. Specifically, I'm trying to update the "ansible-jenkins" role to work with 2.0. That role automates the installation of Jenkins, and then uses the Jenkins CLI to install plugins, etc. 

However, it looks like, given the new out-of-the-box experience, the CLI is disabled until the admin has gone through the GUI config wizard. Specifically, the Jenkins CLI is returning this error:

ubuntu@ip-172-31-53-178:~$ sudo java -jar /opt/jenkins/jenkins-cli.jar -s http://localhost:8080/jenkins help
java.io.IOException: No X-Jenkins-CLI2-Port among [null, X-Required-Permission, X-Jenkins, X-You-Are-In-Group, X-Hudson, Content-Length, Expires, X-You-Are-Authe
nticated-As, X-Permission-Implied-By, Set-Cookie, Server, X-Content-Type-Options, Date, X-Jenkins-Session, Content-Type]
        at hudson.cli.CLI.getCliTcpPort(CLI.java:290)
        at hudson.cli.CLI.<init>(CLI.java:128)
        at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
        at hudson.cli.CLI._main(CLI.java:479)
        at hudson.cli.CLI.main(CLI.java:390)
        Suppressed: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/jenkins/cli
                at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
                at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78)
                at hudson.cli.CLI.connectViaHttp(CLI.java:158)
                at hudson.cli.CLI.<init>(CLI.java:132)
                ... 3 more

So... is there any way to automate that new OOB experience from a command line? Preferably without having to use cURL or something to pretend I'm clicking around in the webapp.  :-)

Thanks!
Karl

Daniel Beck

unread,
Apr 7, 2016, 7:17:13 AM4/7/16
to jenkins...@googlegroups.com

On 06.04.2016, at 18:21, Karl Davis <ka...@davisonlinehome.name> wrote:

> So... is there any way to automate that new OOB experience from a command line? Preferably without having to use cURL or something to pretend I'm clicking around in the webapp. :-)

Pass 'false' as the value of the system property 'jenkins.install.runSetupWizard', e.g.:

java -Djenkins.install.runSetupWizard=false -jar jenkins.war

This will not automate the wizard, but skip it -- but I think you'll manage to install plugins and define the security realm using your tooling.

Karl Davis

unread,
Apr 8, 2016, 1:46:10 PM4/8/16
to Jenkins Users, m...@beckweb.net
Daniel,

Thanks very much: super helpful! Is that documented somewhere that I should have found it?

That certainly does work for my needs. For folks wanting a list of which plugins the new setup wizard recommends, that seems to be here for now: jenkins/war/src/main/js/api/plugins.js.

Thanks again!
Karl

Daniel Beck

unread,
Apr 9, 2016, 1:37:37 PM4/9/16
to jenkins...@googlegroups.com

On 08.04.2016, at 19:46, Karl Davis <ka...@davisonlinehome.name> wrote:

> Is that documented somewhere that I should have found it?

It's documented here:
https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

Not really a case of 'should have found it'.

fayyaz rehman

unread,
Jul 13, 2016, 10:56:42 AM7/13/16
to Jenkins Users, m...@beckweb.net
Hi there,

I am not able to use cli
I am having following error while trying to execute. I am new to jenkins 2.0. somebody help me out. Any easy solution

$ java -jar jenkins-cli.jar -s http://localhost:8080/jenkins/ help 

java.io.IOException: No X-Jenkins-CLI2-Port among [null, X-Required-Permission, X-Jenkins, X-You-Are-In-Group, X-Hudson, Content-Length, Expires, X-You-Are-Authenticated-As, X-Permission-Implied-By, Set-Cookie, Server, X-Content-Type-Options, Date, X-Jenkins-Session, Content-Type]
at hudson.cli.CLI.getCliTcpPort(CLI.java:284)
at hudson.cli.CLI.<init>(CLI.java:128)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
at hudson.cli.CLI._main(CLI.java:473)
at hudson.cli.CLI.main(CLI.java:384)
Suppressed: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/jenkins/cli
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78)
at hudson.cli.CLI.connectViaHttp(CLI.java:152)
at hudson.cli.CLI.<init>(CLI.java:132)
... 3 more

Stephen Connolly

unread,
Jul 13, 2016, 4:44:05 PM7/13/16
to jenkins...@googlegroups.com, m...@beckweb.net
by default jenkins 2.0 ships with the jnlp agent port disabled. you need to enable it in the global security page

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f599e9eb-0137-41ed-9f9b-3b5441387534%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fayyaz rehman

unread,
Jul 14, 2016, 6:44:58 AM7/14/16
to Jenkins Users, m...@beckweb.net
Thank you so much Stephen Connolly 

Is there a way to by pass manual enabling of jnlp agent port. 
If there is any specific file which keeps the record or information of security setting of jenkins?

I was in process to bypass the initial plugin installation process of jenkins and landing directly on it's user dashboard.
If you can point me to the specific file related to jenkins global configure settings

Thanking you in advance

Karl Davis

unread,
Jul 14, 2016, 9:36:09 AM7/14/16
to jenkins...@googlegroups.com, m...@beckweb.net

See 'jenkins.model.Jenkins.slaveAgentPort', as listed here:

https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/tb0MsCpMiG4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/feecce27-e6eb-4851-95bd-0bbdc3ff8058%40googlegroups.com.

fayyaz rehman

unread,
Jul 18, 2016, 1:54:42 AM7/18/16
to Jenkins Users, m...@beckweb.net
Thank you Guys for your prompt replies. I am a bit new learner to all this. I had this error while job is triggered.

my setup
 
jenkins 2.7.1
gerrit 2.11.7
zuul
gearman

when the jobs is triggered i am having the following error
######## jenkins job log ########


Started by user anonymous
Building remotely on slave1 in workspace /home/fayyaz/workspace/gate-example-pep8
[gate-example-pep8] $ /bin/sh -xe /tmp/hudson7890974037186684914.sh
[gate-example-pep8] $ /bin/bash -xe /tmp/hudson8174316305039490960.sh
+ env
XDG_SESSION_ID=c1
HUDSON_SERVER_COOKIE=26a76e13e2754174
SHELL=/bin/bash
SSH_CLIENT=192.168.100.20 43244 22
BUILD_TAG=jenkins-gate-example-pep8-1
WORKSPACE=/home/fayyaz/workspace/gate-example-pep8
USER=fayyaz
JENKINS_HOME=/var/lib/jenkins
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
MAIL=/var/mail/fayyaz
_=/usr/bin/env
PWD=/home/fayyaz/workspace/gate-example-pep8
LANG=en_US.UTF-8
JOB_NAME=gate-example-pep8
BUILD_DISPLAY_NAME=#1
BUILD_ID=1
JOB_BASE_NAME=gate-example-pep8
HOME=/home/fayyaz
SHLVL=2
JENKINS_SERVER_COOKIE=26a76e13e2754174
EXECUTOR_NUMBER=0
NODE_LABELS=slave1
LOGNAME=fayyaz
HUDSON_HOME=/var/lib/jenkins
SSH_CONNECTION=192.168.100.20 43244 192.168.100.18 22
NODE_NAME=slave1
BUILD_NUMBER=1
XDG_RUNTIME_DIR=/run/user/1000
HUDSON_COOKIE=6aea53bb-075c-4eff-85a1-2c0c1d4aa6ee
+ /home/fayyaz/slave_scripts/gerrit-git-prep.sh https://ci.corvit.lab/gerrit ci.corvit.lab:/git
gerrit site: 
zuul_url:

zuul ref:

zuul_chang :

The ZUUL_URL must be provided.
Build step 'Execute shell' marked build as failure
Finished: FAILURE
####################

on the jenkins server 
it says something like that
#############jenkins.log########
INFO: ---- Worker slave1_exec-0 scheduling gate-example-pep8 build #1 on slave1 with UUID 4b1ef21774ee4a0aac1aeba63a19dfd6 and build params [(TextParameterValue) BASE_LOG_PATH='1/1/1', (TextParameterValue) ZUUL_PIPELINE='check', (TextParameterValue) ZUUL_UUID='4b1ef21774ee4a0aac1aeba63a19dfd6', (TextParameterValue) LOG_PATH='1/1/1/check/gate-example-pep8/4b1ef21', (TextParameterValue) ZUUL_VOTING='1', (TextParameterValue) ZUUL_CHANGE_IDS='1,1', (TextParameterValue) ZUUL_PATCHSET='1', (TextParameterValue) ZUUL_BRANCH='master', (TextParameterValue) ZUUL_REF='refs/zuul/master/Zc620d30e6bd94d1c80d1712e0805e62c', (TextParameterValue) ZUUL_COMMIT='c0bad8e5c9df4c245367e3d877ec09b28dd287f7', (TextParameterValue) ZUUL_URL='ci.corvit.lab:/git', (TextParameterValue) ZUUL_CHANGE='1', (TextParameterValue) ZUUL_CHANGES='example:master:refs/changes/01/1/1', (TextParameterValue) ZUUL_PROJECT='example']
Jul 18, 2016 5:40:39 AM org.gearman.common.GearmanJobServerSession submitTask
INFO: Session GearmanJobServerSession:285:GearmanNIOJobServerConnection:ci.corvit.lab/192.168.100.19:4730 is now handling the task GearmanTask:null:d25d1ddf-58ad-41ab-b6ab-0be627012713
Jul 18, 2016 5:40:39 AM org.gearman.common.GearmanJobServerSession handleReqSessionEvent
INFO: Session GearmanJobServerSession:285:GearmanNIOJobServerConnection:ci.corvit.lab/192.168.100.19:4730 handling a REQ/WORK_DATA event
Jul 18, 2016 5:40:39 AM org.gearman.common.GearmanJobServerSession submitTask
INFO: Session GearmanJobServerSession:285:GearmanNIOJobServerConnection:ci.corvit.lab/192.168.100.19:4730 is now handling the task GearmanTask:null:587df4f9-9586-44e0-861b-756cc32600be
Jul 18, 2016 5:40:39 AM org.gearman.common.GearmanJobServerSession handleReqSessionEvent
INFO: Session GearmanJobServerSession:285:GearmanNIOJobServerConnection:ci.corvit.lab/192.168.100.19:4730 handling a REQ/WORK_STATUS event
Jul 18, 2016 5:40:39 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `BASE_LOG_PATH` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
Jul 18, 2016 5:40:39 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `ZUUL_PIPELINE` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
Jul 18, 2016 5:40:39 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `ZUUL_UUID` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
Jul 18, 2016 5:40:39 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `LOG_PATH` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
Jul 18, 2016 5:40:39 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `ZUUL_VOTING` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
WARNING: Skipped parameter `ZUUL_URL` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
Jul 18, 2016 5:40:39 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `ZUUL_CHANGE` as it is undefined on `gate-example-pep8`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach

######################################
when i tried 

fayyaz@jenkins:~$ java -Dhudson.model.ParametersAction.keepUndefinedParameters=true -jar /usr/share/jenkins/jenkins.war
Running from: /usr/share/jenkins/jenkins.war
webroot: $user.home/.jenkins
Jul 18, 2016 5:33:37 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @290ms
Jul 18, 2016 5:33:37 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jul 18, 2016 5:33:38 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Jul 18, 2016 5:33:38 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Jul 18, 2016 5:33:39 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: /home/fayyaz/.jenkins found at: $user.home/.jenkins
Jul 18, 2016 5:33:39 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.@738cc466{/,file:/home/fayyaz/.jenkins/war/,AVAILABLE}{/home/fayyaz/.jenkins/war}
Jul 18, 2016 5:33:39 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: FAILED ServerConnector@588c6ea1{HTTP/1.1}{0.0.0.0:8080}: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:463)
at sun.nio.ch.Net.bind(Net.java:455)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:366)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at winstone.Launcher.<init>(Launcher.java:152)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at Main._main(Main.java:246)
at Main.main(Main.java:91)

Jul 18, 2016 5:33:39 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: FAILED org.eclipse.jetty.server.Server@1a6bfc15: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:463)
at sun.nio.ch.Net.bind(Net.java:455)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:366)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at winstone.Launcher.<init>(Launcher.java:152)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at Main._main(Main.java:246)
at Main.main(Main.java:91)

Jul 18, 2016 5:33:39 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped ServerConnector@588c6ea1{HTTP/1.1}{0.0.0.0:8080}
Jul 18, 2016 5:33:39 AM hudson.WebAppMain$4 run
INFO: Shutting down a Jenkins instance that was still starting up
java.lang.Throwable: reason
at hudson.WebAppMain$4.run(WebAppMain.java:383)
at hudson.security.ACL.impersonate(ACL.java:198)
at hudson.WebAppMain.contextDestroyed(WebAppMain.java:374)
at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:808)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:457)
at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:842)
at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:215)
at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:529)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
at org.eclipse.jetty.server.Server.doStop(Server.java:456)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
at winstone.Launcher.shutdown(Launcher.java:305)
at winstone.Launcher.<init>(Launcher.java:165)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at Main._main(Main.java:246)
at Main.main(Main.java:91)

Jul 18, 2016 5:33:39 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped w.@738cc466{/,file:/home/fayyaz/.jenkins/war/,UNAVAILABLE}{/home/fayyaz/.jenkins/war}
Jul 18, 2016 5:33:39 AM winstone.Logger logInternal
INFO: Winstone shutdown successfully
Jul 18, 2016 5:33:39 AM winstone.Logger logInternal
SEVERE: Container startup failed
java.io.IOException: Failed to start Jetty
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at Main._main(Main.java:246)
at Main.main(Main.java:91)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:463)
at sun.nio.ch.Net.bind(Net.java:455)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:366)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at winstone.Launcher.<init>(Launcher.java:152)
... 7 more

Jul 18, 2016 5:33:40 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: java.lang.InterruptedException
at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:503)
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:267)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1010)
at jenkins.model.Jenkins.<init>(Jenkins.java:878)
at hudson.model.Hudson.<init>(Hudson.java:85)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:227)

Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins$21 onAttained
INFO: Started termination
Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins$21 onTaskFailed
SEVERE: Failed NioChannelSelector.cleanUp
java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.NioChannelSelector
at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at jenkins.model.Jenkins$20.execute(Jenkins.java:3020)
at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
at jenkins.model.Jenkins$20.execute(Jenkins.java:3020)
at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:263)
at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3017)
at jenkins.model.Jenkins.cleanUp(Jenkins.java:2939)
at hudson.WebAppMain$3.run(WebAppMain.java:248)

Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins$21 onAttained
INFO: Completed termination
Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins _cleanUpShutdownPluginManager
INFO: Stopping plugin manager
Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins _cleanUpPersistQueue
INFO: Persisting build queue
Jul 18, 2016 5:33:40 AM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
Reply all
Reply to author
Forward
0 new messages