Commit Graph
17866 Commits
Author SHA1 Message Date
Jesse Glick ef474202e5 @RandomlyFails builds/55 changes/55 2014-02-26 18:42:54 -05:00
Jesse Glick 6fe5d6c6ba [JENKINS-21780] Much more effective fix.
Introduce VirtualFile.run method to batch together commands.
This should restore pre-ArtifactManager performance for workspace browsing.
builds/54 changes/54
2014-02-26 18:01:07 -05:00
Jesse Glick e51fdbbc0e [FIXED JENKINS-21780] Revised fix to make cache work properly without introducing a new remote call to find hash codes. builds/53 changes/53 2014-02-26 16:58:59 -05:00
Jesse Glick f22cfbf31b [JENKINS-19446] Amending changelog; this actually went into 1.544, not 1.543. 2014-02-26 15:59:48 -05:00
Oliver Gondža d9b16017e4 Merge pull request #1133 from daniel-beck/JENKINS-21855
[FIXED JENKINS-21855] Add preview for parameter descriptions
2014-02-26 18:31:23 +01:00
Jesse Glick 7c568178f3 [FIXED JENKINS-21958] FilePath.copyRecursiveTo given a scanner including a symlink but not any regular file in the same directory would neglect to create the parent directory on the destination and thus not copy the link.
(Util.createSymlink is partly to blame for not throwing a descriptive IOException when it fails to create a link,
but this is its historical behavior needed for compatibility.
copyRecursiveTo also continues to suppress error text from this method because there is nowhere for it to go.
Perhaps need a new variant of createSymlink that is guaranteed to either have created the link or throw an exception.)
builds/52 changes/52
2014-02-26 10:13:39 -05:00
Jesse Glick 7b42017522 Let netbeans.compile.on.save revert to its default.
Seems to work in 8.0 at least for some functional tests.
Developers can always disable it privately if they run into issues.
2014-02-26 10:07:42 -05:00
Oliver Gondža ddbba34054 Merge pull request #1142 from qxo/master
fixed i18n issue for Chinese(zh_CN): remove 查克·诺里斯说
2014-02-26 08:28:48 +01:00
qxo 29948ade45 fixed i18n issue for Chinese(zh_CN): remove 查克·诺里斯说 ( "\u67E5\u514B\u00B7\u8BFA\u91CC\u65AF\u8BF4\uFF1A" ) from *.zh_CN.properties 2014-02-26 11:05:23 +08:00
qxo 20fbd0ca97 Merge pull request #3 from jenkinsci/master
merge from jenkins trunk
2014-02-26 10:40:39 +08:00
Jesse Glick 8435c53fe5 16x16/gear2.{png,gif} was missing. builds/51 changes/51 2014-02-25 18:57:14 -05:00
Kohsuke Kawaguchi 011f4ceca8 the trunk is toward 1.554-SNAPSHOT 2014-02-25 07:18:40 -08:00
Kohsuke Kawaguchi cd3851bc01 creating an RC branch 2014-02-25 07:18:36 -08:00
Kohsuke Kawaguchi 741ee0a829 merged back the RC branch 2014-02-24 21:42:13 -08:00
Kohsuke Kawaguchi f2946558ca updated changelog as a part of the release 2014-02-24 21:42:11 -08:00
Kohsuke Kawaguchi b2652e1f25 updated changelog for release 2014-02-24 20:47:18 -08:00
Kohsuke Kawaguchi 3a0b4b2c8f [maven-release-plugin] prepare for next development iteration 2014-02-24 20:38:11 -08:00
Kohsuke Kawaguchi 0738314cb0 [maven-release-plugin] prepare release jenkins-1.552 jenkins-1.552 2014-02-24 20:38:10 -08:00
Kohsuke Kawaguchi 56024205c1 Excluding this test on unsupported platform
... based on Tyler's discovery at https://gist.github.com/rtyler/9195510

testRemoting(hudson.util.ProcessTreeTest)  Time elapsed: 0.097 sec  <<< ERROR!
java.util.NoSuchElementException: null
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:897)
        at java.util.HashMap$ValueIterator.next(HashMap.java:922)
        at hudson.util.ProcessTreeTest$MyCallable.call(ProcessTreeTest.java:42)
        at hudson.util.ProcessTreeTest$MyCallable.call(ProcessTreeTest.java:38)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:328)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

He runs this on FreeBSD.
2014-02-24 11:57:25 -08:00
Jesse Glick 97cc96c925 Merge pull request #1140 from christ66/commons-io-up
Add alternative field calls for deprecated methods.
2014-02-24 13:32:14 -05:00
christ66 e88de958ca Add alternative field calls for deprecated methods. 2014-02-24 00:38:46 -08:00
Jesse Glick fdda9ca656 [FIXED JENKINS-16332] Ensure that User records are saved when the fullName is not recoverable from the id.
Otherwise User.get(id).getFullName() after restarting Jenkins will produce the wrong result.
builds/50 changes/50
2014-02-23 17:48:44 -05:00
Jesse Glick 3ec7e562fe Trying to diagnose recent CI failures of HtmlUnit calls.
For example https://jenkins.ci.cloudbees.com/job/core/job/jenkins-core-validated-merge/38/testReport/lib.layout/LayoutTest/rejectedLinks/ failed with:
java.io.IOException: GET http://localhost:52099/jenkins/login failed
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:152)
	at java.net.SocketInputStream.read(SocketInputStream.java:122)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
	at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
	at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
	at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
	at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
	at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:101)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
	at org.jvnet.hudson.test.JenkinsRule$WebClient.goTo(JenkinsRule.java:1944)
	at org.jvnet.hudson.test.JenkinsRule$WebClient.goTo(JenkinsRule.java:1926)
	at lib.layout.LayoutTest.rejectedLinks(LayoutTest.java:44)
which makes little sense since the named IOException is actually thrown from HttpWebConnection.java:130.
Perhaps Surefire is not reporting the original cause correctly, conflating the wrapper’s message with the original stack trace.
As a temporary measure, printing the original stack trace to stderr if there is any.
builds/49 changes/49
2014-02-23 16:57:05 -05:00
Jesse Glick 0d77f1795c [JENKINS-20965] Noting merge of #1137. 2014-02-23 13:29:52 -05:00
Jesse Glick 5d91ed77f7 Merge branch 'JENKINS-20965' of github.com:christ66/jenkins 2014-02-23 13:28:47 -05:00
Olivier Lamy 761af2d2db Merge pull request #1138 from christ66/commons-io-up
Deprecate the static final variables used in IOUtils.
2014-02-22 14:14:39 +11:00
christ66 9beb9cd958 Deprecate the static final variables used in IOUtils. 2014-02-21 17:21:25 -08:00
christ66 82e94e5e73 [FIXED JENKINS-20965] Run.writeWholeLogTo causes high CPU usage.
Wait one second before writing to log files. Switched to while loop to
prevent extra one second delay.
2014-02-21 17:03:42 -08:00
Kohsuke Kawaguchi e2b0cc9e6b Fixed systemd error on Ubuntu that Jesse found. builds/48 changes/48 2014-02-21 16:30:30 -08:00
Jesse Glick e98867208d Disabling systemd-slave-installer until it can be fixed to be quiet on Ubuntu. builds/47 changes/47 2014-02-21 15:08:52 -05:00
Jesse Glick 898f1f76a3 [FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization.
The problem was masked by a blind assumption that an InvocationTargetException was in fact wrapping a ClassNotFoundException.
Many thanks to @gotwarlost for demonstrating how to reproduce the problem and diagnosing the cause.
builds/46 changes/46
2014-02-21 15:03:16 -05:00
Harald Albers 8482756860 typo in changelog 2014-02-21 12:40:08 +01:00
Olivier Lamy 3b472e5b86 Merge pull request #1135 from christ66/commons-io-up
Upgrade to commons-io 2.4
2014-02-21 17:10:04 +11:00
christ66 4c32649db5 Upgrade to commons-io 2.4
In order to maintain backwards compatibility we need to keep IOUtils the
same as in commons-io 1.4. This code is backwards compatible, however
most of the methods have been deprecated and should instead use the
org.apache.commons.io.IOUtils version instead.
2014-02-20 21:50:14 -08:00
Kohsuke Kawaguchi 1b2ac716ba Slave started from JNLP can now install itself as systemd service. 2014-02-20 21:20:03 -08:00
Jesse Glick f360ce3ee0 Javadoc for Queue.Task claimed they were compared using .equals(), but in critical cases this was not actually true.
Does not matter for the common case of Job, but when implementing custom tasks this could cause duplicate queue items (and executables).
builds/44 changes/44
2014-02-20 11:05:32 -05:00
Olivier Lamy a72188213e really a pain to have those files in the scm, I always have those to commit 2014-02-20 22:59:35 +11:00
Jesse Glick b09f828706 [JENKINS-21159] Noting #663 merge. builds/42 builds/43 changes/42 changes/43 2014-02-18 18:25:16 -05:00
Jesse Glick 20c4b06f8c Merge branch 'master_g' of github.com:ialbors/jenkins
[FIXED JENKINS-21159] Merged #663.
2014-02-18 18:10:17 -05:00
Daniel Beck 672954baf4 [FIXED JENKINS-21855] Add preview for parameter descriptions 2014-02-18 17:28:12 +01:00
Jesse Glick 2ae83f6ab0 Corrected a (now-)misleading comment.
JENKINS-20618 diagnostics (also in 1.532.2) are on top of jzlib 1.1.3.
builds/41 changes/41
2014-02-18 09:32:31 -05:00
Harald Albers 3d5baf60c4 improved description of EscapedMarkupFormatter
also made its display name localizable
2014-02-18 11:37:56 +01:00
Jesse Glick cf3c157d74 Unused imports. builds/40 changes/40 2014-02-17 15:12:05 -05:00
Jesse Glick 6a205a9495 Senseless for the state field to be protected when the enum used for its type is private: no subtype could use it anyway. 2014-02-17 14:34:57 -05:00
Jesse Glick a22d914a0e Javadoc improvements. 2014-02-17 14:33:42 -05:00
Jesse Glick f268d3ba3d Merge branch 'master' of git://github.com/jenkinsci/jenkins 2014-02-17 13:58:13 -05:00
Daniel Beck 1b17335645 Update Javadoc for PR #1124 2014-02-17 19:24:09 +01:00
Daniel Beck 9856477ffe Update Javadoc for PR #1124 2014-02-17 19:23:37 +01:00
Jesse Glick b2c69b4a35 Split RawHtmlMarkupFormatter into a bundled plugin (antisamy-markup-formatter).
https://trello.com/c/NvZt4WXu/15-rawhtmlmarkupformatter
builds/39 changes/39
2014-02-17 12:22:53 -05:00
Daniel Beck 389a3bcf6a Merge pull request #1124 from daniel-beck/fix-autocompletion-for-folders
Fix autocompletion for items in folders
2014-02-16 21:00:47 +01:00