Commit Graph
5215 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 88218f38d5 opening up for plugins 2011-03-29 21:34:51 -07:00
Kohsuke Kawaguchi 654840ddba inherit from parent, not just the root 2011-03-29 21:34:50 -07:00
Kohsuke Kawaguchi 7c19d7930e added a new method to interpret the path with relative names 2011-03-29 21:34:50 -07:00
Kohsuke Kawaguchi 1bdecb463b getItemByFullName shouldn't bypass security check 2011-03-29 21:34:50 -07:00
Kohsuke Kawaguchi b5a067e09f wrong location for logging 2011-03-29 21:34:50 -07:00
Kohsuke Kawaguchi 9236d86f41 replaced System.out with logging 2011-03-29 21:34:50 -07:00
Kohsuke Kawaguchi 05f36b4772 Merge commit '40983bac81df783cbf07ecfc5b1a71c444c00c79' 2011-03-29 11:27:16 -07:00
Kohsuke Kawaguchi 3a434230fd improved the error check more robust, based on the old xUnit plugin behavior:
unning from: /usr/share/jenkins/jenkins.war[Winstone 2011/03/28
16:52:46] - Beginning extraction from war file
hudson home directory: /var/lib/jenkins found at:
EnvVars.masterEnvVars.get("JENKINS_HOME")
Mar 28, 2011 4:52:47 PM hudson.util.CharacterEncodingFilter init
INFO: CharacterEncodingFilter initialized. DISABLE_FILTER: false
FORCE_ENCODING: false
[Winstone 2011/03/28 16:52:47] - HTTP Listener started: port=8081
Using one-time self-signed certificate
Mar 28, 2011 4:52:48 PM hudson.model.Hudson$5 onAttained
INFO: Started initialization
Mar 28, 2011 4:52:48 PM hudson.model.Hudson$5 onAttained
INFO: Listed all plugins
[Winstone 2011/03/28 16:52:49] - Winstone Servlet Engine v0.9.10
running: controlPort=disabled
Mar 28, 2011 4:52:57 PM hudson.plugins.greenballs.PluginImpl start
INFO: Green Balls!
Mar 28, 2011 4:52:57 PM hudson.model.Hudson$5 onAttained
INFO: Prepared all plugins
Mar 28, 2011 4:53:05 PM hudson.model.Hudson$5 onAttained
INFO: Started all plugins
Mar 28, 2011 4:53:05 PM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
Mar 28, 2011 4:53:05 PM hudson.model.Hudson$5 onTaskFailed
SEVERE: Failed NullIdDescriptorMonitor.verifyId
java.lang.Error: java.lang.reflect.InvocationTargetException
        at hudson.init.InitializerFinder.invoke(InitializerFinder.java:
114)
        at hudson.init.InitializerFinder
$TaskImpl.run(InitializerFinder.java:174)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
        at hudson.model.Hudson$4.runTask(Hudson.java:734)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)Caused by:
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at hudson.init.InitializerFinder.invoke(InitializerFinder.java:
110)
        ... 8 more
Caused by: java.lang.UnsupportedOperationException: The descriptor
registry with the called getId() method is not used. The descri
ptor redefines its own getInputMetric() method.
        at com.thalesgroup.hudson.plugins.xunit.types.CustomType
$CustomInputMetricDescriptor.getId(CustomType.java:66)
        at
hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:
65)
        at
hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:
76)
        ... 13 more
Mar 28, 2011 4:53:05 PM hudson.WebAppMain$2 run
SEVERE: Failed to initialize Hudson
org.jvnet.hudson.reactor.ReactorException: java.lang.Error:
java.lang.reflect.InvocationTargetException
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
        at hudson.model.Hudson.executeReactor(Hudson.java:752)
        at hudson.model.Hudson.<init>(Hudson.java:666)
        at hudson.model.Hudson.<init>(Hudson.java:606)
        at hudson.WebAppMain$2.run(WebAppMain.java:215)
Caused by: java.lang.Error:
java.lang.reflect.InvocationTargetException
        at hudson.init.InitializerFinder.invoke(InitializerFinder.java:
114)
        at hudson.init.InitializerFinder
$TaskImpl.run(InitializerFinder.java:174)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
        at hudson.model.Hudson$4.runTask(Hudson.java:734)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at hudson.init.InitializerFinder.invoke(InitializerFinder.java:
110)
        ... 8 more
Caused by: java.lang.UnsupportedOperationException: The descriptor
registry with the called getId() method is not used. The descriptor
redefines its own getInputMetric() method.
        at com.thalesgroup.hudson.plugins.xunit.types.CustomType
$CustomInputMetricDescriptor.getId(CustomType.java:66)
        at
hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:
65)
        at
hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:
76)
        ... 13 more
Exception in thread "pool-2-thread-2" java.lang.NullPointerException
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Exception in thread "pool-2-thread-4" java.lang.NullPointerException
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

from http://jenkins.361315.n4.nabble.com/Jenkins-update-from-Hudson-on-Debian-broke-my-installation-td3413072.html
2011-03-29 10:02:55 -07:00
Kohsuke Kawaguchi 40983bac81 also exposes JENKINS_URL 2011-03-29 09:00:18 -07:00
Kohsuke Kawaguchi 0cab76ae1f Jenkins 2011-03-28 21:32:58 -07:00
Kohsuke Kawaguchi cabe8987bb set a very conservative time out to avoid a hang 2011-03-28 21:30:59 -07:00
alanharder 12ea99bd08 add generics on getDesciptorList calls 2011-03-27 22:16:05 -07:00
Kohsuke Kawaguchi 0e3c245680 report request headers 2011-03-27 18:28:13 -07:00
Christoph Kutzinski 6a5330fd93 [FIXED JENKINS-7535] building up the dependency graph for maven jobs
takes too long
2011-03-25 18:49:10 +01:00
Stephen Connolly a2e597b3ee Adding a TransientComputerActionFactory. Note that the transient actions are never updated, so to make actions appear to be added dynammically you need to always add them and control their display, rather than conditionally add them. This is the same behaviour as for TransientViewActionFactory but not quite the same behaviour as TransientProjectActionFactory 2011-03-25 17:27:10 +00:00
Kohsuke Kawaguchi a1003269ce Merge remote branch 'origin/jenkins-1.400-trunk' into oss 2011-03-25 09:05:15 -07:00
Kohsuke Kawaguchi 6c12a64cba added methods to help visualization 2011-03-24 15:37:36 -07:00
Olivier Lamy 2f7dae63bb fix link to javadoc in maven modules, archiving test javadoc test too , still need to display link to test javadoc 2011-03-24 01:48:04 +01:00
Mike Robinet d6948ecd53 [FIXED JENKINS-9138] Expand environment variables in fingerprint targets. 2011-03-23 12:26:44 -07:00
Kohsuke Kawaguchi 99fdf470be marking when this was introduced 2011-03-23 12:24:17 -07:00
petehayes 38db351d4b Added new copyWithDefaultValue method on parameter definition. This can be used by
plugins like the rebuild plugin that want to default the parameter input fields with
a previous set of parameter values.  Currently the rebuild plugin has to rewrite the
parameter input display for each core parameter which prevents it from supporting
additional parameter types outside of core.
2011-03-23 12:22:52 -07:00
Kohsuke Kawaguchi cff80e297c ping should be set up from both directions 2011-03-23 12:06:32 -07:00
Kohsuke Kawaguchi 42a3b57e9d doc/licensing header setup 2011-03-23 12:06:32 -07:00
Nathan Parry 18327e9de6 [FIXED JENKINS-8990] Configurable ping interval
This lets you configure the ping interval for slaves via a
system property. (hudson.slaves.ChannelPinger.pingInterval)

The default ping interval has been lowered from 10 to 5 minutes.

It also moves the ping setup logic into a ComputerListener
(out of the JNLP slave Engine class). As a side effect, all
slaves will now have a ping instead of just JNLP slaves.
2011-03-23 12:06:32 -07:00
Kohsuke Kawaguchi c21918df7e [FIXED JENKINS-9094] "Remember me" doesn't work with PAM 2011-03-23 11:14:18 +00:00
Kohsuke Kawaguchi c8d7af2d7d Fixed an AbstractMethodError in ItemGroupMixin.create when using some
older plugins.
2011-03-22 19:09:53 -07:00
Kohsuke Kawaguchi 821a3b2569 alow subtyping 2011-03-22 11:30:28 -07:00
Ulli Hafner 08f38dd63f Fixed test suite parsing of Eclipse Plug-in tests. 2011-03-22 11:57:54 +01:00
Kohsuke Kawaguchi 46472e809a when Descriptor is manually added/removed, ExtensionList<Descriptor> needs to be updated. 2011-03-21 00:23:00 -07:00
Kohsuke Kawaguchi f6474520c3 Added a new extension point to contribute build variables. 2011-03-21 00:22:59 -07:00
Kohsuke Kawaguchi 86c610f614 added a tag to override the currentDescriptorByNameUrl 2011-03-21 00:22:59 -07:00
Kohsuke Kawaguchi 793a67197b Bind {@link JobProperty}s to URL spaces. 2011-03-21 00:22:58 -07:00
Kohsuke Kawaguchi a8e4957438 LDAP group names are now available as-is for the use in authorization. No upper casing / no 'ROLE_' prefix. 2011-03-21 00:22:58 -07:00
Seiji Sogabe ea3452ce2c [FIXED JENKINS-7174] Failed to instantiate DumnSlave. 2011-03-21 13:55:42 +09:00
Seiji Sogabe 1c9631a73c [FIXED JENKINS-6128] NPE during run - fingerprint cleanup thread
A job without a firstBuild is not causing an NPE anymore.
2011-03-21 08:54:34 +09:00
Seiji Sogabe 415a2729a5 [FIXED JENKINS-8449] Use correct shell interpreter on Windows slave. 2011-03-21 07:31:32 +09:00
Christoph Kutzinski bec0ee1eec [FIXED JENKINS-8567] Upstream culprits did contain culprits from old
build
2011-03-19 13:42:49 +01:00
Kohsuke Kawaguchi ca4de00c2c [FIXED JENKINS-9094] "Remember me" doesn't work with PAM 2011-03-18 22:19:46 -07:00
Kohsuke Kawaguchi 29dc1d5fa8 [FIXED JENKINS-9062] Fixed a bug in persisting user configuration that causes NPE in some plugins 2011-03-18 21:28:21 -07:00
Kohsuke Kawaguchi 2066157dc3 Merge branch 'oss' 2011-03-18 20:11:00 -07:00
Kohsuke Kawaguchi 04584b806b support streaming ciphers with modes other than EBC. 2011-03-18 15:14:48 -07:00
Kohsuke Kawaguchi c072b3cb6c key length can be obtained from the key 2011-03-18 12:02:44 -07:00
Kohsuke Kawaguchi eb19a453a9 added additional convenience methods 2011-03-18 11:35:38 -07:00
Kohsuke Kawaguchi 2c04b28ce6 Merge commit 'c9d54a4b8ce52d545e218d8dd102fc4862c3ddb6' 2011-03-17 23:12:13 -07:00
Kohsuke Kawaguchi c9d54a4b8c Enhanced the extension point to report additional HTTP headers 2011-03-17 13:32:57 -07:00
alanharder 3bd3ff9b57 [FIXED JENKINS-7442] Change ArgumentListBuilder.toWindowsCommand() to not escape %VAR%
type references by default (can now be done by passing "true" parameter).
This restores ability to use %VAR% references for ant build steps on windows.
2011-03-17 09:15:26 -07:00
Kohsuke Kawaguchi 16769c0cdf improved the logging so that we can see who's marking the build as a failure 2011-03-16 21:33:51 -07:00
Andrew Bayer dabc426162 Handle aggregated test results separately from actual test results in project main page. 2011-03-15 07:06:50 -07:00
Kohsuke Kawaguchi 3f9e65d825 [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect. 2011-03-14 22:19:19 -07:00
Kohsuke Kawaguchi b497728418 [JENKINS-8790] revisited the fix to take advantage of the atomicity between Queue.pop() and executor state change 2011-03-14 22:19:19 -07:00