Commit Graph
32590 Commits
Author SHA1 Message Date
Seiji Sogabe 8fe3f1f028 Merge pull request #335 from ialbors/master_g
Fixed resize handler in timeline graphic.
2011-12-23 16:38:33 -08:00
Christoph Kutzinski bc24201485 Removed unnecessary code duplication in the Maven builders 2011-12-22 22:05:19 +01:00
Christoph Kutzinski 41278a7a30 some minor optimization 2011-12-22 22:05:19 +01:00
Christoph Kutzinski bc58b2aca6 Minimized serialization profile of FilterImpl 2011-12-22 21:57:05 +01:00
Ignacio Albors 695c26f068 Fixed resize handler in build trend graphic.
Javascritp file reference relative to root url.
2011-12-22 11:25:51 +01:00
olivier lamy 7bba3abcf9 [JENKINS-11318] updgrade to wagon 2.2 2011-12-21 09:53:32 +01:00
Fred G c5bee090c5 Added hyperlinks to the console output for the slave that the build was
running on and to the user that started the build.
2011-12-20 03:17:48 +01:00
Fred G f3b8ee007e Added hyperlinks to matrix configurations in console output of the
parent job. Added German translations.
2011-12-20 03:13:03 +01:00
Kohsuke Kawaguchi ab0b9d577b noted the UI improvement 2011-12-19 18:11:14 -08:00
Kohsuke Kawaguchi 3475aecc0c the trunk is toward 1.446-SNAPSHOT 2011-12-19 17:14:50 -08:00
Kohsuke Kawaguchi a26b589aa3 creating an RC branch 2011-12-19 17:14:46 -08:00
Kohsuke Kawaguchi aa38c439ea icon for the top sticker 2011-12-19 17:13:35 -08:00
Kohsuke Kawaguchi a5a74c1461 added the top version as well 2011-12-19 17:13:35 -08:00
Kohsuke Kawaguchi adba6d4f08 adding the sticky save button to more places. 2011-12-19 17:13:34 -08:00
Kohsuke Kawaguchi 760f9030a8 CLI now supports using HTTP proxy for tunneling its TCP/IP connection 2011-12-19 14:15:50 -08:00
Kohsuke Kawaguchi 721111b196 unused parameter 2011-12-19 14:15:49 -08:00
Kohsuke Kawaguchi 9b033f412c merged back the RC branch 2011-12-19 13:01:15 -08:00
Kohsuke Kawaguchi 0db035a2a5 updated changelog as a part of the release 2011-12-19 13:01:12 -08:00
Kohsuke Kawaguchi e2d961d0ee toward the next release 2011-12-19 12:35:21 -08:00
Kohsuke Kawaguchi 6937dbe0ed releasing a new plugin parent POM 2011-12-19 12:35:14 -08:00
Kohsuke Kawaguchi 4abb2372b2 updated changelog for release 2011-12-19 12:35:14 -08:00
Kohsuke Kawaguchi 979dc08807 [maven-release-plugin] prepare for next development iteration 2011-12-19 12:21:08 -08:00
Kohsuke Kawaguchi ab35c5295c [maven-release-plugin] prepare release jenkins-1.444 jenkins-1.444 2011-12-19 12:21:08 -08:00
Kohsuke Kawaguchi 9713527367 Advertise the host name to enable direct connection. 2011-12-19 12:15:34 -08:00
Kohsuke Kawaguchi 78c1d5d6d8 Oops. NPE in #1371 2011-12-16 19:32:07 -08:00
Kohsuke Kawaguchi a41fb84e7f [FIXED JENKINS-11204]
Don't let the partially loaded Jenkins cause a possible data loss.
2011-12-16 19:22:13 -08:00
Kohsuke Kawaguchi eec37460da [FIXED JENKINS-11873] don't say proceeding with anonouymous because we might not 2011-12-16 18:42:38 -08:00
Kohsuke Kawaguchi 8ad2502cad doc improvement 2011-12-16 18:29:31 -08:00
Kohsuke Kawaguchi dcbdbcc507 [CLOUDBEES-2018] fixing the root cause.
At some point after this code was originally written, I/O in remoting
became asynchronous. So we need to sync with that before we swap out
the new log output stream, or else you cut off stuff at the wrong
moment.

Normally the command transfer in remoting is slow enough that
you get more or less synchronized output anyway, which is why
this poblem remained unnoticed.

But if the uncliamed buffer gets large, write operation will take a long
time, which makes this issue more likely to show up.

This fix address this problem by doing a proper sync.
The recycling of ByteArrayOutputStream is also disabled because it makes
synchronization tricky.
2011-12-16 18:29:31 -08:00
Kohsuke Kawaguchi 982946beb8 [CLOUDBEES-2018] improving the performance under a large side buffer.
This might be a bug of its own that the unclaimed side buffer gets that long, but java.io.ByteArrayOutputStream really sucks as its bytes grow, and this does no harm
2011-12-16 17:38:36 -08:00
Kohsuke Kawaguchi 0ea5a28d26 further simplication 2011-12-16 17:34:23 -08:00
Kohsuke Kawaguchi 946bb40f51 getting rid of code duplication 2011-12-16 17:32:20 -08:00
Kohsuke Kawaguchi 181d173138 Ignoring exception is a bad idea 2011-12-16 17:26:26 -08:00
Kohsuke Kawaguchi 5ef67b40db no InterruptedException here 2011-12-16 17:20:53 -08:00
Kohsuke Kawaguchi ebfa6bb04a explained the lifecycle 2011-12-16 10:48:15 -08:00
Kohsuke Kawaguchi 13668d3fce Merge branch 'radioBlock-inline' 2011-12-16 10:15:48 -08:00
Kohsuke Kawaguchi 2bf18d028d recording changes 2011-12-15 17:57:36 -08:00
Kohsuke Kawaguchi 86ce56c401 Merge remote branch 'origin/master'
Conflicts:
	changelog.html
2011-12-15 17:51:25 -08:00
Kohsuke Kawaguchi 7c63543f85 the trunk is toward 1.445-SNAPSHOT 2011-12-15 17:49:29 -08:00
Kohsuke Kawaguchi 2a459db8cd creating an RC branch 2011-12-15 17:48:59 -08:00
Kohsuke Kawaguchi 8a9260fcd4 using a version that has a better diagnostics support 2011-12-15 15:11:42 -08:00
Kohsuke Kawaguchi a306e2513f This fails if "#foobar" CSS selector fails to find the corresonpding ID.
Exception class=[net.sourceforge.htmlunit.corejs.javascript.JavaScriptException]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "parentNode" from null (http://localhost:38569/static/5bfaa01f/scripts/hudson-behavior.js#2430)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
	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)
	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:699)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:657)
	at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1132)
	at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1034)
	at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
	at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
	at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3058)
	at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1994)
	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.goTo(HudsonTestCase.java:1744)
	at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1735)
	at hudson.model.JobPropertyTest.assertJobPropertySummaryIsShownInIndexPage(JobPropertyTest.java:59)
	at hudson.model.JobPropertyTest.testJobPropertySummaryIsShownInMatrixProjectIndexPage(JobPropertyTest.java:48)
	at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:386)
	at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:277)
	at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:142)
	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:62)
	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:58)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	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: net.sourceforge.htmlunit.corejs.javascript.JavaScriptException: TypeError: Cannot read property "parentNode" from null (http://localhost:38569/static/5bfaa01f/scripts/hudson-behavior.js#2430)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/hudson-behavior.js:2430)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:1126)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:1072)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:106)
	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.call(InterpretedFunction.java:162)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:486)
	at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.setState(XMLHttpRequest.java:171)
	at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.doSend(XMLHttpRequest.java:445)
	at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.access$000(XMLHttpRequest.java:61)
	at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest$1$1.run(XMLHttpRequest.java:393)
	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.host.xml.XMLHttpRequest$1.execute(XMLHttpRequest.java:390)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:556)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$300(JavaScriptEngine.java:68)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:523)
Caused by: net.sourceforge.htmlunit.corejs.javascript.NativeError$NativeErrorException: Cannot read property "parentNode" from null
	at net.sourceforge.htmlunit.corejs.javascript.NativeError.make(NativeError.java:99)
	at net.sourceforge.htmlunit.corejs.javascript.NativeGlobal.execIdCall(NativeGlobal.java:242)
	at net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:129)
	at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:349)
	at net.sourceforge.htmlunit.corejs.javascript.Context.newObject(Context.java:1541)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.newCatchScope(ScriptRuntime.java:3258)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:450)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:494)
	at script.findElementsBySelector(http://localhost:38569/static/5bfaa01f/scripts/behavior.js:187)
	at script.apply(http://localhost:38569/static/5bfaa01f/scripts/behavior.js:71)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/behavior.js:79)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:676)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/behavior.js:68)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/hudson-behavior.js:1518)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:1122)
Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot read property "parentNode" from null (http://localhost:38569/static/5bfaa01f/scripts/behavior.js#134)
	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.typeError2(ScriptRuntime.java:3677)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3690)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1422)
	at script.isAncestor(http://localhost:38569/static/5bfaa01f/scripts/behavior.js:134)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/behavior.js:187)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:495)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:451)
	at script.(http://localhost:38569/static/5bfaa01f/scripts/prototype.js:676)
JavaScriptException value = TypeError: Cannot read property "parentNode" from null
2011-12-15 14:58:13 -08:00
Kohsuke Kawaguchi 30518db66b added sticky div to help with UI 2011-12-15 13:05:57 -08:00
Kohsuke Kawaguchi d373141fa2 Revisited the abstraction. Allowing this method to return a mutable list, following the trend in the core to expose intelligent collection (as opposed to have the parent define CRUD methods.) 2011-12-15 09:47:04 -08:00
Kohsuke Kawaguchi 88de1669df Jenkins 2011-12-15 09:38:30 -08:00
Kohsuke Kawaguchi 8cd23888b4 added a method to expose this. Motivated by the conversation around ruby-runtime with cowboyd 2011-12-15 09:34:47 -08:00
Nicolas De loof bfdfe527c6 Merge pull request #327 from recampbell/master
Expose a new beforeUse callback on WorkspaceListener for performing actions on a workspace before it's used by a build.
2011-12-15 00:15:08 -08:00
Ryan Campbell 879b3f09f0 Expose a new beforeUse callback on WorkspaceListener for performing actions on a workspace before it's used by a build. 2011-12-14 20:47:18 -06:00
imod 1c9262e977 [FIXED JENKINS-7926] Add time execution of the build on build detail page 2011-12-14 19:29:35 +01:00
imod fd9896cff6 [FIXED JENKINS-10915] fix french translation 2011-12-14 18:49:31 +01:00