Commit Graph
32590 Commits
Author SHA1 Message Date
Julien HENRY a97c9188df JENKINS-5335: Add html doctype on Jenkins to avoid quirks mode. 2011-09-26 16:21:04 +02:00
Nicolas De loof 09bc78aec7 Merge pull request #258 from PaulSandoz/master
Stop a matrix-project build
2011-09-26 02:27:50 -07:00
Paul Sandoz 17baab5491 Fix the stopping of a matrix project build that is a one off executor. 2011-09-26 11:03:51 +02:00
Kohsuke Kawaguchi f28fe0c6da toward the next release 2011-09-25 21:30:50 -07:00
Kohsuke Kawaguchi 7da58750a5 releasing a new plugin parent POM 2011-09-25 21:30:43 -07:00
Kohsuke Kawaguchi 1e2a08b33b updated changelog for release 2011-09-25 21:30:43 -07:00
Kohsuke Kawaguchi f5fd8500e5 [maven-release-plugin] prepare for next development iteration 2011-09-25 21:17:50 -07:00
Kohsuke Kawaguchi 8e9e6ac657 [maven-release-plugin] prepare release jenkins-1.432 jenkins-1.432 2011-09-25 21:17:49 -07:00
Kohsuke Kawaguchi 27c4dc8b58 Ant returns 0 if the archive doesn't record the access mode 2011-09-25 20:59:18 -07:00
Christoph Kutzinski 20e9ab65b0 Fixed typos and added missing 'non' 2011-09-25 22:00:18 +02:00
Kohsuke Kawaguchi a4440f9b89 [JENKINS-11097]
Added more diagnositics about how ping terminated a connection.
2011-09-24 18:22:39 -07:00
Kohsuke Kawaguchi f4aec235ec [FIXED JENKINS-11100] master label should be editable if there's a
cloud.
2011-09-24 17:28:53 -07:00
Kohsuke Kawaguchi 6a1fa87183 fixed a compilation error 2011-09-24 00:00:25 -07:00
Kohsuke Kawaguchi 95934c2257 allow this value to be tweaked via system property 2011-09-23 23:59:31 -07:00
Kohsuke Kawaguchi b9aac9b79c Recording the mvnwithbuildsteps branch change 2011-09-23 23:40:55 -07:00
Kohsuke Kawaguchi 28deae772e Merge branch 'mvnwithbuildsteps' 2011-09-23 23:40:35 -07:00
Kohsuke Kawaguchi f9e6fd0b68 adding a test case 2011-09-23 23:39:23 -07:00
Kohsuke Kawaguchi db3b0988d5 @title is more concise 2011-09-23 23:25:13 -07:00
Kohsuke Kawaguchi d60f9c93bc Using String like enum isn't type safe. 2011-09-23 23:25:13 -07:00
Kohsuke Kawaguchi 1f7c75d7e5 Using String like enum isn't type safe. 2011-09-23 23:25:13 -07:00
Kohsuke Kawaguchi ac6a020055 BuildStep.prebuild is to run at the beginning of the build. 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 29c7b8b0ad merging 3 of them to make them more concise 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 65d25aafe2 BuildStep.prebuild needs to be called for post builders as well 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 0841fd6421 - In modern code we've been exposing DescribableList directly since it's a lot richer.
- calling prebuild after build wrappers to align the semantics with freestyle projects.
2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi acd14d1885 using the bug annotation 2011-09-23 22:55:33 -07:00
Richard Mortimer f356b78ea0 [FIXED JENKINS-10903] Canceling a parent multi-configuration build produce a
build.xml that can't be deserialized

Handle resolves-to="com.google.common.collect.ImmutableList$SerializedForm"
manually and construct a suitable list. Any subsequent serialization of the
class will use the direct form of serialization.
2011-09-23 22:54:55 -07:00
Richard Mortimer ebee47bb75 [JENKINS-10903] Serialize ImmutableList in the same manner as ImmutableMap.
This is a partial fix for JENKINS-10903. Any new builds will
be serialized correctly.

Based on ImmutableMapConverter.java
2011-09-23 22:54:45 -07:00
Stefan Brausch b27b5f4ea3 AbstractItem hasn't used fireOnChange for SavableListener 2011-09-23 22:47:54 -07:00
Kohsuke Kawaguchi b43e0512e2 updated to YUI 2.9 2011-09-23 22:43:28 -07:00
Kohsuke Kawaguchi 003242c3e3 Concurrent build is no longer beta. 2011-09-23 22:42:51 -07:00
Kohsuke Kawaguchi 9a9ddf7f47 fixed more test regressions 2011-09-23 22:24:56 -07:00
Kohsuke Kawaguchi 705220d37e Better way to fix the test failure.
This reverts commit 5dce36d997
and it adds back xalan as test harness dependency
2011-09-23 21:45:57 -07:00
Kohsuke Kawaguchi 5dce36d997 Looks like now HtmlUnit really depends on Xalan.
This was causing ui-samples test failure

java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
    at com.gargoylesoftware.htmlunit.html.DomNamespaceNode.getLocalName(DomNamespaceNode.java:81)
    at com.gargoylesoftware.htmlunit.html.HtmlElement.getNodeName(HtmlElement.java:308)
    at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.addNodeToRightParent(HTMLParser.java:636)
    at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:610)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1126)
    at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:734)
    at org.cyberneko.html.HTMLTagBalancer.forceStartElement(HTMLTagBalancer.java:758)
    at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:618)
    at org.cyberneko.html.HTMLTagBalancer.forceStartElement(HTMLTagBalancer.java:758)
    at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:586)
    at org.cyberneko.html.HTMLTagBalancer.forceStartElement(HTMLTagBalancer.java:758)
    at org.cyberneko.html.HTMLTagBalancer.forceStartBody(HTMLTagBalancer.java:828)
    at org.cyberneko.html.HTMLTagBalancer.endDocument(HTMLTagBalancer.java:468)
    at org.cyberneko.html.filters.DefaultFilter.endDocument(DefaultFilter.java:213)
    at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2064)
    at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:907)
    at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
    at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:901)
    at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:350)
    at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:304)
    at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:134)
    at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
    at org.jvnet.hudson.test.HudsonPageCreator.createPage(HudsonPageCreator.java:46)
    at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449)
    at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332)
    at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
    at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
    at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1717)
    at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:349)
    at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)
    at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:50)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    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 org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:97)
    at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:108)
    at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:85)
    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 org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
    at $Proxy0.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
    at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.PrefixResolver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 52 more
Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.PrefixResolver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 52 more
2011-09-23 21:26:49 -07:00
Kohsuke Kawaguchi 76ada98f34 fixed incorect merge that wiped out the semantics of TestExtension.value() 2011-09-23 21:11:20 -07:00
Kohsuke Kawaguchi ecc6989c0a use the latest HtmlUnit to fix the test failure caused by YUI 2.9 2011-09-23 19:42:55 -07:00
Kohsuke Kawaguchi 6d081fafc4 This property can be null causing HtmlUnit to fail.
In event-debug.js, there's an overloaded toString() method.

    toString: function() {
         return "CustomEvent: " + "'" + this.type  + "', " +
             "context: " + this.scope;

    }

When the problem happens, "this.scope" points to a DataSourceBase object, and apparently at that time this._sName is null, and it causes a failure in ScriptableObject.getDefaultValue(), at the final "fall through to error" portion (see below)

----
Enclosed exception:
net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find default value for object. (http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js#385)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3652)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3630)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3658)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3670)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:829)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:748)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.add(ScriptRuntime.java:2558)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.do_add(Interpreter.java:3060)
	at script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:385)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:879)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:808)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:748)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.add(ScriptRuntime.java:2558)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.do_add(Interpreter.java:3060)
	at script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:114)
	at script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:2258)
	at script.(http://localhost:46994/static/43c91e29/scripts/yui/datasource/datasource-debug.js:79)
	at script.(http://localhost:46994/static/43c91e29/scripts/yui/datasource/datasource-debug.js:2302)
	at script.(http://localhost:46994/static/43c91e29/scripts/yui/autocomplete/autocomplete-debug.js:18)
	at script.createSearchBox(http://localhost:46994/static/43c91e29/scripts/hudson-behavior.js:1711)
	at script.(script in http://localhost:46994//login from (4, 3626) to (4, 3663):4)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:879)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:427)
	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:263)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3058)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:415)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:424)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:399)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:892)
	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:309)
	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
	at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:223)
	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:238)
----

So this quick fix gets us around.

I think the root cause of the problem is that ScriptableObject.getDefaultValue() should treat null as the primitive value, but I'm bit scared to make that change right now.
2011-09-23 19:42:21 -07:00
Kohsuke Kawaguchi 3c278df8d3 Fixed the test failure. There's no beta module in YUI 2.9, and we got some old plugins that's specifying beta for modules that have graduated. 2011-09-23 17:35:21 -07:00
Kohsuke Kawaguchi a7bafdd946 storage might not be available after all 2011-09-23 17:00:37 -07:00
Richard Mortimer 5f4fdb0b7d [FIXED JENKINS-11013] NOT_BUILT & other build status are reported inconsistently 2011-09-23 15:54:15 -07:00
Richard Mortimer 089440f9d8 JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
Do not class a NOT_BUILT result as a completed build when calculating
unstable/back to normal build transitions. It should be treated in the
same way as an ABORTED build.
2011-09-23 15:53:28 -07:00
Richard Mortimer fd9d680c74 JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
The parent matrix build console output does not record the build status for
each job. That is useful to get a quick feel for the status of each job and
the order of execution/completion.
2011-09-23 15:53:28 -07:00
Richard Mortimer c444b42b14 JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
Matrix build tooltip reports a pending/queued build as "skipped"
2011-09-23 15:53:28 -07:00
Richard Mortimer ab2cd0e4ad JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
The rss/atom build result feeds report status as "?"
2011-09-23 15:53:28 -07:00
Richard Mortimer eea6d8327b JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
The tooltip for the grey ball is "Pending" when it should be "Not built".
2011-09-23 15:53:28 -07:00
OHTAKE Tomohiro c2bdbd3d15 Arrows in sortable tables only appear in the first row. 2011-09-23 15:48:36 -07:00
OHTAKE Tomohiro 675902a84c [FIXED JENKINS-203] Store sortable table state into local storage. 2011-09-23 15:48:36 -07:00
OHTAKE Tomohiro 30af566074 Add YUI Storage Utility 2011-09-23 15:48:35 -07:00
OHTAKE Tomohiro 0e2fd16810 Update YUI from 2.5.2 to 2.9.0 2011-09-23 15:48:35 -07:00
Kohsuke Kawaguchi 013daf6772 Merge pull request #255 from jieryn/patch-1
Remove excessively old change log information, replace with a link to the current stuff.
2011-09-23 15:37:37 -07:00
Kohsuke Kawaguchi 18c7da3445 not sure how it crept in 2011-09-23 15:36:47 -07:00