user@host:~$ uname -a Linux host 3.13.0-16-generic #36-Ubuntu SMP Tue Mar 4 23:02:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux user@host:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Trusty Tahr (development branch) Release: 14.04 Codename: trusty user@host:~$ java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode) user@host:~$ javac -version javac 1.8.0 user@host:~$ ls -lah /usr/lib/jvm/ total 68K drwxr-xr-x 5 root root 4,0K mars 7 08:23 . drwxr-xr-x 183 root root 36K mars 7 08:23 .. lrwxrwxrwx 1 root root 24 oct. 12 20:13 default-java -> java-1.7.0-openjdk-amd64 lrwxrwxrwx 1 root root 20 oct. 12 01:36 java-1.7.0-openjdk-amd64 -> java-7-openjdk-amd64 -rw-r--r-- 1 root root 2,4K janv. 31 20:27 .java-1.7.0-openjdk-amd64.jinfo drwxr-xr-x 7 root root 4,0K févr. 13 18:32 java-7-openjdk-amd64 drwxr-xr-x 8 root root 4,0K févr. 27 13:24 java-7-oracle -rw-r--r-- 1 root root 2,5K févr. 27 13:24 .java-7-oracle.jinfo drwxr-xr-x 8 root root 4,0K mars 7 08:23 java-8-oracle -rw-r--r-- 1 root root 2,5K mars 7 08:23 .java-8-oracle.jinfo user@host:~$ sudo apt-cache show jenkins Package: jenkins Priority: optional Section: universe/java Installed-Size: 106 Maintainer: Ubuntu Developers Original-Maintainer: Debian Java Maintainers Architecture: all Version: 1.509.2+dfsg-2 Depends: adduser, default-jre-headless | java6-runtime-headless, jenkins-common (= 1.509.2+dfsg-2), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16) Conflicts: jenkins-tomcat, tomcat6 Filename: pool/universe/j/jenkins/jenkins_1.509.2+dfsg-2_all.deb Size: 14750 MD5sum: 59d1a41df4ed27df15a8f355eaf10000 SHA1: 7e41ca88a04f402ba9bc32b09928f4a9f17216ba SHA256: 4de1bf523168507849d173f05d3fcfcb610e51d42c8592b5fa53693cf8af114b Description-en: Continuous Integration and Job Scheduling Server Jenkins monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs: . * Building/testing software projects continuously, just like CruiseControl or DamageControl. In a nutshell, Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. The automated, continuous build increases productivity. * Monitoring executions of externally-run jobs, such as cron jobs and procmail jobs, even those that are run on a remote machine. For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong. . This package supports using Jenkins in standalone mode utilising the embedded winstone servlet container. Description-md5: d4b314ee3431ba663d8c5b45429ff25f Homepage: http://jenkins-ci.org/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu user@host:~$ sudo service jenkins stop stop: Unknown instance: user@host:~$ ls -lah /etc/default/jenkins -rw-r--r-- 1 root root 2,0K août 12 2013 /etc/default/jenkins pascalav@pascalav:~$ cat /etc/default/jenkins # defaults for jenkins continuous integration server # pulled in from the init script; makes things easier. NAME=jenkins # location of java JAVA=/usr/bin/java # arguments to pass to java #JAVA_ARGS="-Xmx256m" PIDFILE=/var/run/jenkins/jenkins.pid # user id to be invoked as (otherwise will run as root; not wise!) JENKINS_USER=jenkins # location of jenkins arch indep files JENKINS_ROOT=/usr/share/jenkins # location of the jenkins war file JENKINS_WAR=/usr/share/jenkins/jenkins.war # jenkins home location JENKINS_HOME=/var/lib/jenkins # jenkins /run location JENKINS_RUN=/var/run/jenkins # set this to false if you don't want Hudson to run by itself # in this set up, you are expected to provide a servlet container # to host jenkins. RUN_STANDALONE=true # log location. this may be a syslog facility.priority JENKINS_LOG=/var/log/jenkins/$NAME.log # OS LIMITS SETUP # comment this out to observe /etc/security/limits.conf # this is on by default because http://github.com/feniix/hudson/commit/d13c08ea8f5a3fa730ba174305e6429b74853927 # reported that Ubuntu's PAM configuration doesn't include pam_limits.so, and as a result the # of file # descriptors are forced to 1024 regardless of /etc/security/limits.conf MAXOPENFILES=8192 # port for HTTP connector (default 8080; disable with -1) HTTP_PORT=8080 # port for AJP connector (disabled by default) AJP_PORT=-1 # Listen address for HTTP connector HTTP_HOST=127.0.0.1 # Listen address for AJP connector AJP_HOST=127.0.0.1 # arguments to pass to jenkins. # --javahome=$JAVA_HOME # --httpPort=$HTTP_PORT (default 8080; disable with -1) # --httpsPort=$HTTP_PORT # --ajp13Port=$AJP_PORT # --argumentsRealm.passwd.$ADMIN_USER=[password] # --argumentsRealm.$ADMIN_USER=admin # --webroot=~/.jenkins/war JENKINS_ARGS="--webroot=$JENKINS_RUN/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT" JENKINS_ARGS="$JENKINS_ARGS --httpListenAddress=$HTTP_HOST --ajp13ListenAddress=$AJP_HOST" JENKINS_ARGS="$JENKINS_ARGS --preferredClassLoader=java.net.URLClassLoader" user@host:~$ ls -lah /var/lib/jenkins/config.xml -rw-r--r-- 1 jenkins jenkins 1,4K mars 7 10:33 /var/lib/jenkins/config.xml user@host:~$ cat /var/lib/jenkins/config.xml 1.509.2 2 NORMAL true ${ITEM_ROOTDIR}/workspace ${ITEM_ROOTDIR}/builds Default /usr/lib/jvm/java-8-oracle 5 0 All false false All 0 user@host:~$ sudo rm -f /var/log/jenkins/jenkins.log; sudo service jenkins start; sleep 10; head -n200 /var/log/jenkins/jenkins.log; sleep 2; sudo service jenkins stop jenkins start/running, process 6324 Running from: /usr/share/jenkins/jenkins.war Mar 07, 2014 10:39:39 AM winstone.Logger logInternal INFO: Beginning extraction from war file Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME") Mar 07, 2014 10:39:41 AM winstone.Logger logInternal INFO: HTTP Listener started: port=8080 Mar 07, 2014 10:39:41 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled Mar 07, 2014 10:39:41 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Mar 07, 2014 10:39:41 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Mar 07, 2014 10:39:41 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Mar 07, 2014 10:39:42 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Mar 07, 2014 10:39:45 AM hudson.model.Descriptor load WARNING: Failed to load /var/lib/jenkins/hudson.maven.MavenModuleSet.xml hudson.util.IOException2: Unable to read /var/lib/jenkins/hudson.maven.MavenModuleSet.xml at hudson.XmlFile.unmarshal(XmlFile.java:170) at hudson.model.Descriptor.load(Descriptor.java:806) at hudson.maven.MavenModuleSet$DescriptorImpl.(MavenModuleSet.java:1202) at hudson.maven.MavenModuleSet.(MavenModuleSet.java:1182) at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1082) at java.lang.reflect.Field.getFieldAccessor(Field.java:1063) at java.lang.reflect.Field.get(Field.java:387) at net.java.sezpoz.IndexItem.instance(IndexItem.java:185) at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:355) at hudson.ExtensionFinder$GuiceFinder.access$400(ExtensionFinder.java:234) at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:514) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$GuiceFinder$4$1.get(ExtensionFinder.java:422) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382) at hudson.ExtensionFinder._find(ExtensionFinder.java:151) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:318) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1148) at hudson.plugins.git.GitTool.onLoaded(GitTool.java:95) 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:483) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:884) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: com.thoughtworks.xstream.converters.ConversionException: -1 : -1 ---- Debugging information ---- message : -1 cause-exception : java.lang.ArrayIndexOutOfBoundsException cause-message : -1 class : hudson.maven.MavenModuleSet$DescriptorImpl required-type : hudson.maven.MavenModuleSet$DescriptorImpl converter-type : hudson.util.RobustReflectionConverter path : /hudson.maven.MavenModuleSet$DescriptorImpl line number : 2 version : null ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:108) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:166) ... 48 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(HashMap.java:511) at java.util.HashMap.putAll(HashMap.java:784) at com.thoughtworks.xstream.core.util.OrderRetainingMap.(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186) at hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:328) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:238) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 57 more Mar 07, 2014 10:39:45 AM hudson.model.Descriptor load WARNING: Failed to load /var/lib/jenkins/hudson.tasks.Maven.xml hudson.util.IOException2: Unable to read /var/lib/jenkins/hudson.tasks.Maven.xml at hudson.XmlFile.unmarshal(XmlFile.java:170) at hudson.model.Descriptor.load(Descriptor.java:806) at hudson.tasks.Maven$DescriptorImpl.(Maven.java:385) at hudson.tasks.Maven$DescriptorImpl$$FastClassByGuice$$dc4bed9b.newInstance() at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$GuiceFinder$4$1.get(ExtensionFinder.java:422) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382) at hudson.ExtensionFinder._find(ExtensionFinder.java:151) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:318) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1148) at hudson.plugins.git.GitTool.onLoaded(GitTool.java:95) 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:483) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:884) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: com.thoughtworks.xstream.converters.ConversionException: -1 : -1 ---- Debugging information ---- message : -1 cause-exception : java.lang.ArrayIndexOutOfBoundsException cause-message : -1 class : hudson.tasks.Maven$DescriptorImpl required-type : hudson.tasks.Maven$DescriptorImpl converter-type : hudson.util.RobustReflectionConverter path : /hudson.tasks.Maven$DescriptorImpl/installations line number : 3 version : null ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:108) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:166) ... 39 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(HashMap.java:511) at java.util.HashMap.putAll(HashMap.java:784) at com.thoughtworks.xstream.core.util.OrderRetainingMap.(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186) at hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:328) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 48 more Mar 07, 2014 10:39:45 AM hudson.model.Descriptor load WARNING: Failed to load /var/lib/jenkins/jenkins.model.JenkinsLocationConfiguration.xml hudson.util.IOException2: Unable to read /var/lib/jenkins/jenkins.model.JenkinsLocationConfiguration.xml at hudson.XmlFile.unmarshal(XmlFile.java:170) at hudson.model.Descriptor.load(Descriptor.java:806) at jenkins.model.JenkinsLocationConfiguration.load(JenkinsLocationConfiguration.java:63) at jenkins.model.JenkinsLocationConfiguration.(JenkinsLocationConfiguration.java:41) at jenkins.model.JenkinsLocationConfiguration$$FastClassByGuice$$a6785528.newInstance() at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jenkins stop/waiting user@host:~$