Commit Graph
32590 Commits
Author SHA1 Message Date
Jesse Glick eade0edb42 Deprecating SFTPClient. 2013-10-31 19:02:10 -04:00
Jesse Glick 8661222f2d Synchronizing XPath-related assertions with implementations in HudsonTestCase, using HtmlUnit’s XPath engine rather than Hamcrest’s which does not seem to work in this context at least. 2013-10-31 16:09:47 -04:00
Jesse Glick 5b7543159d It is Thread.getThreadGroup that can return null, not ThreadGroup.getName.
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1436/testReport/hudson.model/UpdateCenter2Test/install/
java.lang.NullPointerException: null
	at hudson.Functions$ThreadSorterBase.<init>(Functions.java:1151)
	at hudson.Functions$ThreadSorterBase.<init>(Functions.java:1142)
	at hudson.Functions$ThreadGroupMap.<init>(Functions.java:1163)
	at hudson.Functions.sortThreadsAndGetGroupMap(Functions.java:1136)
	at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:482)
2013-10-31 13:43:55 -04:00
Jesse Glick ac5767e3bc Deprecating hudson field; use jenkins instead. 2013-10-31 13:39:50 -04:00
Jesse Glick 8963570c6f Merge branch 'master' of github.com:jenkinsci/jenkins 2013-10-31 13:38:33 -04:00
christ66 6872d645b3 Fork the compiler jvm. 2013-10-30 18:23:18 -07:00
Hans-Joachim Kliemeck 8dfa6f7363 added ability to get remote disk sizes 2013-10-29 19:59:10 +01:00
Jesse Glick 28f6b762a1 Missing @since. 2013-10-29 13:31:05 -04:00
Jesse Glick ffb93af52e Merge branch 'master' of github.com:jenkinsci/jenkins 2013-10-29 12:59:48 -04:00
Jesse Glick 32469643ae Better diagnosis for null parent.
Observed in 1.509.3:
java.lang.NullPointerException
	at hudson.model.AbstractItem.getRootDir(AbstractItem.java:162)
	at hudson.model.Items.getConfigFile(Items.java:236)
	at hudson.model.AbstractItem.getConfigFile(AbstractItem.java:461)
	at hudson.model.AbstractItem.save(AbstractItem.java:456)
	at hudson.model.Job.save(Job.java:152)
	at hudson.model.AbstractProject.save(AbstractProject.java:268)
	at hudson.diagnosis.OldDataMonitor.doDiscard(OldDataMonitor.java:275)
2013-10-29 12:47:09 -04:00
Kohsuke Kawaguchi 5e7b844b65 Completing the migration to Java6 2013-10-29 09:19:24 -07:00
Harald Albers 1fffbfcd62 improved localization (de)
thanks to kutzi for spotting this.
2013-10-29 16:48:24 +01:00
ssogabe c853c4719d [FIXED JENKINS-20191] Add Test button to check proxy connection 2013-10-29 22:58:11 +09:00
Kohsuke Kawaguchi ad93581104 [FIXED JENKINS-13125 JENKINS-20074]
Incorporated Stapler 1.222 to pick up fixes
2013-10-28 22:15:12 -07:00
Kohsuke Kawaguchi 1edf49e6e0 Needs to build now with '-A'
This is presumably related to https://github.com/jenkinsci/jenkins/pull/956
but I don't fully understand what difference this makes.
2013-10-28 21:02:22 -07:00
Kohsuke Kawaguchi fd6a2288f9 Merge branch 'localization-20131020'
Conflicts:
	core/src/main/resources/hudson/model/UpdateCenter/RestartJenkinsJob/Running/status_de.properties
	core/src/main/resources/hudson/model/UpdateCenter/body_de.properties
	core/src/main/resources/hudson/model/UpdateCenter/index_fr.properties
	core/src/main/resources/hudson/model/View/sidepanel_cs.properties

Conflicts are resolved in favor of the master branch, assuming people
editing the core is more trustworthy.
2013-10-28 15:02:31 -07:00
Kohsuke Kawaguchi bc711ee1d8 Revert "Community-contributed localization for Afrikaans (af)"
This reverts commit b354bca000.

Unfortunately, Afrikaaans is the default selection of the language, and
some people apparently contributed translations without selecting the
proper locale. I see some Hebrew text in here, which was easier to
distinguish because it uses an entirely different character set.

But I have to assume other locales are mixed in here as well.

I'll remove the default language from the translation assistance plugin.
But in the mean time, we don't have anyone who's capable of reviewing
this, so I'm forced to roll back.
2013-10-28 14:54:44 -07:00
Ryan Campbell c11c6cea34 Remove meaningless initialization 2013-10-28 16:01:43 -05:00
Ryan Campbell 44f6367085 Null check 2013-10-28 15:56:30 -05:00
Ryan Campbell 9471274dcd Synchronize access to the ScheduledExecutorService so that we can avoid NPE's during failed startup and lazily initialize it safely. 2013-10-28 15:44:06 -05:00
Ryan Campbell 6e9b7b7e64 Naming convention 2013-10-28 15:42:38 -05:00
Ryan Campbell da5620a4e8 We must still initialize and clean up the legacy Trigger#timer 2013-10-28 15:39:46 -05:00
Ryan Campbell 565ced0dba [FIXES JENKINS-19622] Replace hudson.model.Trigger#timer with jenkins.util.Timer, which exposes a ScheduledExecutorService. Up to 10 additional threads will be created to run pending tasks even if running tasks are blocked.
Also, move static initialization of timers to the classes which require them.
2013-10-28 14:44:17 -05:00
Harald Albers dfda38d933 comments on Community-contributed localization for zh_TW (zh_TW) 2013-10-28 20:38:56 +01:00
Harald Albers 40983df2f7 comments on Community-contributed localization for Finnish (fi) 2013-10-28 20:33:01 +01:00
Harald Albers 8249c1ccc0 comments on Community-contributed localization for Spanish; Castilian
(es)
2013-10-28 20:24:52 +01:00
Harald Albers 7126d0b8aa comments on Community-contributed localization for en_GB (en_GB) 2013-10-28 20:01:40 +01:00
Jesse Glick 5e3387c6ae Noting that this class is not really necessary now that cloudbees-folder is open source. 2013-10-28 14:56:33 -04:00
Harald Albers 3a582717ca comments on Community-contributed localization for German (de) 2013-10-28 19:43:14 +01:00
Jesse Glick 4bcb0402e7 For convenience, send an X-Error header when a Failure is thrown.
Otherwise a REST API user needs to scan through a couple pages of HTML to find the actual message.
2013-10-28 14:33:09 -04:00
Jesse Glick 6a06937dcd maven-hpi-plugin 1.100 2013-10-28 14:24:29 -04:00
Kohsuke Kawaguchi eb1de2c175 the trunk is toward 1.539-SNAPSHOT 2013-10-28 07:33:14 -07:00
Kohsuke Kawaguchi 0bf6332ed5 creating an RC branch 2013-10-28 07:33:04 -07:00
Steven Post 9600a0aa0b Test: avoid NPE when zipFile could not be created 2013-10-28 11:24:10 +01:00
Steven Post 2de5e7618d Close stream 2013-10-28 11:24:09 +01:00
Steven Post 7e45780aa4 Close stream 2013-10-28 11:24:07 +01:00
Steven Post 170bb7bf6e Close stream 2013-10-28 11:24:05 +01:00
Steven Post db9bc18143 Close stream
The stream was not properly closed.
In addition, when the abort would fail, the exception caused by the abort
would be propagated up the stack instead of the original exception.
This patch makes sure to close the stream and let the original exception
propagate.
2013-10-28 11:24:03 +01:00
Steven Post dfb0935a0c Close streams on exception 2013-10-28 11:11:49 +01:00
Steven Post 9696e0eda8 JDKInstaller: close stream on exception 2013-10-28 11:11:48 +01:00
Steven Post 8d0811666b Close stream on exception 2013-10-28 11:11:48 +01:00
Steven Post 84461edc4d Close stream on exception 2013-10-28 11:11:47 +01:00
Steven Post 5743b6f672 Close stream on exception 2013-10-28 11:11:47 +01:00
Steven Post f02bf90842 Close stream on exception 2013-10-28 11:11:46 +01:00
Steven Post 4b023ebc54 Close stream on exception 2013-10-28 11:11:46 +01:00
Steven Post 24ac78c58d Close FileInputStream on exception 2013-10-28 11:11:45 +01:00
Steven Post 1966b55463 Close streams on exception 2013-10-28 11:09:42 +01:00
Steven Post 45e409ac0a Close filewriter on exception 2013-10-28 11:09:42 +01:00
Kohsuke Kawaguchi 2610b04cb3 merged back the RC branch 2013-10-27 21:45:57 -07:00
Kohsuke Kawaguchi 0a5b89ba0f updated changelog as a part of the release 2013-10-27 21:45:53 -07:00