Commit Graph
10778 Commits
Author SHA1 Message Date
Harald Albers 3eb42728ac [FIXED JENKINS-14380] hudson appears in a the webpage title
provide localization for HudsonHomeDiskUsageMonitor.getDisplayName()
2013-11-06 22:20:55 +01:00
Kohsuke Kawaguchi 7b50b5895b don't alarm the user by showing an exception 2013-11-06 12:23:25 -08:00
Jesse Glick 37d2575f6b [JENKINS-18922] Trying to make this error (missing maven-plugin) nonfatal during startup.
May not suffice: a fatal error may simply be thrown later on.
2013-11-06 08:15:44 -05:00
Stephen Connolly dec369e68e Merge pull request #994 from daniel-beck/dont-remember-me
[JENKINS-15757] Ignore 'remember me' if disabled in configuration
2013-11-06 02:21:20 -08:00
Kohsuke Kawaguchi dfc2f57d19 this can happen so early in the game that j might be null
"Jenkins is loading" page gets set up before Jenkins instance gets
initialized.
2013-11-05 12:29:51 -08:00
Jesse Glick cf45c6a8f2 Another case where RunAction2 is needed: SCM tag actions. 2013-11-05 14:33:56 -05:00
Jesse Glick 645232557a Added Cause.onLoad in case a Cause implementation needs to keep a build field. 2013-11-05 14:28:04 -05:00
Jesse Glick 521b578a87 Use RunAction2 to avoid persisting a build field. 2013-11-05 14:27:19 -05:00
Jesse Glick 678771ade3 Updated @since due to backport. 2013-11-05 14:06:03 -05:00
Jesse Glick 96294049cb Merge branch 'master' of github.com:jenkinsci/jenkins 2013-11-05 13:38:17 -05:00
Jesse Glick 313c2a804a Should use safeRestart, not immediate restart, when -restart option is given. 2013-11-05 12:58:00 -05:00
Harald Albers aa9e1a2f5e updated German localization 2013-11-05 10:23:22 +01:00
Harald Albers 0696dbd2b5 restored some Spanish messages
these messages were purged in 772bd8f63f
for being unused, but they are actually active.
2013-11-05 10:18:05 +01:00
Harald Albers 1d669aac05 Merge pull request #990 from ssogabe/JENKINS-20191
[FIXED JENKINS-20191] Add Test button to check proxy connection
2013-11-04 23:43:40 -08:00
Jesse Glick 61c04b2c03 Merge branch 'JENKINS-20106' of github.com:daniel-beck/jenkins into daniel-beck-JENKINS-20106 2013-11-04 17:22:47 -05:00
Daniel Beck 850485acf3 [FIXED JENKINS-20106] Show different "up" link for jobs in folders
This change determines in the current items parent is the Jenkins
instance. If so, behavior is as before. Otherwise, link to parent
and use the label 'Up' instead of 'Back to Dashboard' similar to
Folders Plugin.
2013-11-04 22:10:35 +01:00
Jesse Glick cd8791e8fd [FIXED JENKINS-20074] Do not report irrelevant exceptions thrown in the process of reporting a (possibly relevant) exception.
Merge branch 'uncaught-socket-exceptions-JENKINS-20074'

Conflicts:
	core/pom.xml
2013-11-04 15:05:51 -05:00
Jesse Glick b9e227e65b [JENKINS-17929] Noting that authentication does not work in the groovysh command. 2013-11-04 14:54:45 -05:00
James Nord 0e122dfcac [FIXED JENKINS-19898] test base classes should not be linked to the junit implementation.
Changed the return type to be generic and not the junit specific CaseResult.

TestObject.fullName was used in the baseClasses jelly but this was only defined in the CaseResult so add an implementation to the base class such that people can continue to use the generic jelly in their cusomt test implementations.

Change-Id: I39fbff6621d7f20f9cebb210eea4f54a90f77375
2013-11-03 16:27:51 -05:00
Viktor Suprun 0f52bc3c77 Fixed text alignment about icons on legend page 2013-11-04 01:40:42 +11:00
Daniel Beck 90c32b52d1 Better icon for labels
Uses http://rrze-icon-set.berlios.de/tango/gallery.html#attribute
2013-11-02 21:31:49 +01:00
Daniel Beck 2d9dec951e [JENKINS-15757] Ignore 'remember me' if disabled in configuration
The previous implementation of 'disable remember me' just removes the
checkbox from the UI. Users still can set the parameter using a web
browser extension, or patch the login page using a Greasemonkey script
and keep using the feature. And just after the feature is enabled, users
still might be able to use it if they loaded the login page early.

This change prevents that by checking the current configuration and, if
'remember me' is disabled, ignoring any headers set.
2013-11-02 15:13:04 +01:00
ssogabe 32b0a37e95 fixed layout of logger list. 2013-11-02 21:20:13 +09:00
Jesse Glick 338ca9883f Merge pull request #993 from ikedam/feature/JENKINS-20280_TopologicalSort
[JENKINS-20280] Decide variable overriding order with topological sorting
2013-11-01 11:40:09 -07:00
Jesse Glick 7e55b2f265 NPE reported in 1.509.3 from OldDataMonitor as part of a general startup failure.
In this case display the reported exceptions differently and be done with it.
java.lang.NullPointerException
	at hudson.diagnosis.OldDataMonitor.report(OldDataMonitor.java:178)
	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:312)
	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
2013-11-01 11:03:56 -04:00
ikedam 6d56de71cb [JENKINS-20280] Use topological sorting to decide the order to override variables. 2013-11-01 23:55:29 +09:00
ikedam 562c64bbdb [JENKINS-20280] Make it easy to change the implementation. Especially Map.Entry is not so convenient to handle. 2013-11-01 22:11:18 +09:00
lvotypko 2d8af340b2 Rename method 2013-11-01 12:54:26 +01:00
ssogabe fb8b613abf Updated Japanese localization 2013-11-01 16:29:00 +09:00
ssogabe 553a3850ba Use Common HttpClient instead of URLConnection 2013-11-01 12:09:43 +09:00
ssogabe 1c89aed244 fixed typo 2013-11-01 12:07:17 +09:00
Jesse Glick eade0edb42 Deprecating SFTPClient. 2013-10-31 19:02:10 -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
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
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 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