Commit Graph
11799 Commits
Author SHA1 Message Date
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 ad93581104 [FIXED JENKINS-13125 JENKINS-20074]
Incorporated Stapler 1.222 to pick up fixes
2013-10-28 22:15:12 -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
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
Kohsuke Kawaguchi eb1de2c175 the trunk is toward 1.539-SNAPSHOT 2013-10-28 07:33:14 -07:00
Kohsuke Kawaguchi 6290064971 args4j sets null as value when the value is ""
This behaviour is noted in MapOptionHandler.
2013-10-27 17:33:44 -07:00
Kohsuke Kawaguchi f15f49f6f4 Merge pull request #923 from evernat/master
Optimize and close Zip resources in ClassicPluginStrategy and FilePath
2013-10-27 12:05:23 -07:00
Kohsuke Kawaguchi 04195b653b [JENKINS-19438]
Merged pull request #931.
2013-10-27 11:52:46 -07:00
Marcus Jacobsson 975dcadca1 [FIXED JENKINS-19438]
Changed so that each nobuilt, aborted and disabled will use icons with unique names. The Icons used in this patch are just a copy of grey.
2013-10-27 11:51:11 -07:00
Kohsuke Kawaguchi 588ab963a8 Merged pull request #957
The bulk of the change will be in Maven plugin
2013-10-27 11:20:50 -07:00
Kohsuke Kawaguchi 27751723da noting the version 2013-10-27 11:20:15 -07:00
Kohsuke Kawaguchi e86d28155a explaining why POST_PRODUCTION isn't BUILDING
... after looking at pull request #957.
2013-10-27 11:12:44 -07:00
Kohsuke Kawaguchi 7ef6d9a08b Wrong source root
... as pointed out by https://github.com/jenkinsci/jenkins/pull/961
2013-10-27 11:05:04 -07:00
Kohsuke Kawaguchi cfe4b82994 Revert "Updating Guava."
This reverts commit d45d18ed4e.
2013-10-27 09:22:04 -07:00
Kohsuke Kawaguchi 206efb8710 Fixed NPE 2013-10-27 09:15:14 -07:00
Kohsuke Kawaguchi d3bce1e2de [FIXED JENKINS-19835]
Merged pull request #962.
2013-10-27 08:59:58 -07:00
Kohsuke Kawaguchi a6b7f4b076 if applied, the data is saved so flag should be reset.
Technically we should doing so only after the server reported success, but unfortunately there's no good hook for that.
2013-10-27 08:57:09 -07:00
Kohsuke Kawaguchi 6f0e22b129 simplified using Prototype.js 2013-10-27 08:48:42 -07:00
Kohsuke Kawaguchi e966aeaddc avoid global namespace pollution 2013-10-27 08:39:16 -07:00
mcupak 4c21bcee27 [JENKINS-19835] added page-leave confirmation on the configuration page 2013-10-27 08:38:36 -07:00
Kohsuke Kawaguchi a84d1bca7a [FIXED JENKINS-19844]
Merged pull request #966
2013-10-27 08:01:43 -07:00
Kohsuke Kawaguchi d45d18ed4e Updating Guava.
I found that literate-api library wants to use a newer version of Guava.
Sine all the usage of Guava in plugins end up picking up the version
from core, we need to rev this pretty aggressively.
2013-10-27 07:59:49 -07:00
Kohsuke Kawaguchi afea2a5455 Merge pull request #969 from olivergondza/label-node-list-appearance
Improve label node list appearance
2013-10-26 14:53:29 -07:00
Kohsuke Kawaguchi b96d227f97 [FIXED JENKINS-19996] Support view manipulation via Jenkins CLI
Merged pull request #971.
2013-10-26 14:50:57 -07:00
Kohsuke Kawaguchi 952ea0a928 [JENKINS-19996] Setting the target version 2013-10-26 14:49:33 -07:00
Kohsuke Kawaguchi 9ee9684681 Merge pull request #973 from olivergondza/cli-help
[JENKINS-20023] Make CLI interface help more accesible
2013-10-26 14:43:43 -07:00
Kohsuke Kawaguchi 705b013c8a Merge pull request #976 from sghill/parametersaction-merge
Adding ParametersAction#merge(ParametersAction) method with tests.
2013-10-26 14:36:21 -07:00
Kohsuke Kawaguchi 42ced243af Merge pull request #977 from olivergondza/build-name-command-npe
[FIXED JENKINS-20057] NPE when issuing set-build-display-name CLI command
2013-10-26 14:33:52 -07:00
Kohsuke Kawaguchi 68c03c59cf Merge pull request #978 from olivierdagenais/enhanceCurrentUserLink
Enhance the current user link in the header.
2013-10-26 14:31:43 -07:00
Kohsuke Kawaguchi 28737ee9d1 [FIXED JENKINS-8408]
If slaves are late to come online after a Jenkins startup, we will see a huge spike of builds as Jenkins attempt to get a workspace for polling.
2013-10-26 14:27:25 -07:00
Kohsuke Kawaguchi 41ce6c5714 track uptime 2013-10-26 14:09:39 -07:00
Kohsuke Kawaguchi e68ec055fd [FIXED JENKINS-20280]
Merged pull request #986.
2013-10-26 13:40:44 -07:00
ikedam 4204d22496 [FIX JENKINS-20280] Calculates the order to override variables. This is an improved fix for [JENKINS-19488] and [JENKINS-19926]. 2013-10-26 13:38:30 -07:00
Kohsuke Kawaguchi 3e4733c7a4 Merge branch 'rc' 2013-10-25 16:02:49 -07:00
Kohsuke Kawaguchi b3225944d1 Revert "[FIXED JENKINS-18629]"
This reverts commit c01333c346.
See
https://issues.jenkins-ci.org/browse/JENKINS-20262?focusedCommentId=188404&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-188404
for the discussion why this should be reverted.

Conflicts:

	core/pom.xml
2013-10-25 15:59:59 -07:00
Kohsuke Kawaguchi a26f0fbe9d if useSecurity is set to false, it should trump all others 2013-10-25 14:08:44 -07:00