Commit Graph
32590 Commits
Author SHA1 Message Date
sogabe 7ff37c05ec Updated Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18286 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-22 21:47:33 +00:00
kohsuke 643f13e86e fixed broken javadoc links
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18269 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-22 01:43:12 +00:00
kohsuke d0990573f0 Revisiting the fix in rev.18252.
The exception cited in KENAIPLUGIN-2 is caused by the fact that the KenaiProperty doesn't contain any visible configuration element. This change will allow such properties.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18267 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 23:45:58 +00:00
kohsuke 390fdf4a1f implemented automatic Maven installation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18266 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 23:11:23 +00:00
kohsuke c1c79ab63d i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18264 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 20:46:50 +00:00
kohsuke fb44aa123d doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18263 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 20:46:26 +00:00
kohsuke 49ace47432 Added automatic tool installation for Ant.
- Most of the installer logic is made reusable in DownloadFromUrlInstaller.
- ToolDescriptor can now contribute global.jelly to the system configuration page.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18260 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 18:22:02 +00:00
kohsuke 46b540e5eb added more convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18259 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 18:10:58 +00:00
stephenconnolly 12eda4f6d4 oops, forgot the slashes themselves ;-)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18258 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 17:42:14 +00:00
stephenconnolly be30ca6f36 The path is now part of the URL path element and not a URL parameter, so we need to encode it differently. There may be a more correct encoder, but this should work for 99% of cases until I can write one to handle svn paths to sventon URL mapped paths (which requires creating a svn repo with crazy path names and then testing with sventon)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18257 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 17:32:32 +00:00
kohsuke 10cc0441ae disable the usage stat collection during the development
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18253 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 17:05:12 +00:00
jglick 78169fa039 Attempting better diagnosis of KENAIPLUGIN-2:
net.sf.json.JSONException: null object
	at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2418)
	at net.sf.json.JSONObject.has(JSONObject.java:1777)
	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:309)
	at hudson.model.Descriptor.newInstance(Descriptor.java:335)
	at hudson.model.JobPropertyDescriptor.newInstance(JobPropertyDescriptor.java:65)
	at hudson.model.Job.doConfigSubmit(Job.java:915)
	....


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18252 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 16:19:28 +00:00
kohsuke 79b2071c60 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18250 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 15:50:29 +00:00
dwdyer 8a8fbbaad6 Spelling and proper escaping for apostrophes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18226 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-20 10:52:54 +00:00
dodok1 7b0d9086f7 [FIXED HUDSON-2488] affectedPaths are computed correctly to MavenModule relativePaths
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18223 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-20 08:05:17 +00:00
kohsuke 5951d7a9b8 making this more defensive
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18221 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-20 02:04:47 +00:00
kohsuke 12a8387139 Some failures in Windows batch files didn't cause Hudson to fail the build.
(<a href="http://www.nabble.com/Propagating-failure-in-Windows-Batch-actions-td23603409.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18208 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-19 00:38:48 +00:00
kohsuke 713b374341 StreamTaskListener(Writer) uses WriterOutputStream and unnecessarily make the pipeline longer.
This also caused the log blockage for the Selenium plugin

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18199 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 21:44:45 +00:00
kohsuke 6bb8400261 Fixed spelling errors, thanks to Jesse.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18198 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 21:03:05 +00:00
kohsuke 85a4bc0b6b External job monitoring was ignoring the possible encoding difference between Hudson and the remote machine that executed the job.
(<a href="http://www.nabble.com/windows%E3%81%AEhudson%E3%81%8B%E3%82%89ssh%E3%82%B9%E3%83%AC%E3%83%BC%E3%83%96%E3%82%92%E4%BD%BF%E3%81%86%E3%81%A8%E3%81%8D%E3%81%AE%E6%96%87%E5%AD%97%E3%82%B3%E3%83%BC%E3%83%89%E5%8F%96%E3%82%8A%E6%89%B1%E3%81%84%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6-td23583532.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18197 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 21:00:09 +00:00
kohsuke ba46603dfd If possible, obtain the context path of the servlet (see http://www.nabble.com/I-don%27t-have-2-instances-but-Hudson-says-I-do%21-td23599835.html)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18196 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 20:33:06 +00:00
kohsuke daccd83bca no stack trace with AbortException
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18188 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 18:55:37 +00:00
kohsuke da4474c519 this is not instantiable
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18187 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 18:53:42 +00:00
kohsuke 84d466ff5d merged the RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18184 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 17:57:50 +00:00
kohsuke 772d77d425 this version handled ExtensionPoint without comment correctly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18182 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 17:51:23 +00:00
kohsuke f47a6a41d3 Further improved the JUnit report parsing.
(<a href="http://www.nabble.com/NPE-%28Fatal%3A-Null%29-in-recording-junit-test-results-td23562964.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18174 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-17 01:23:40 +00:00
kohsuke 7da580e86e making the code work with JDK1.5, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18141 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-16 01:31:07 +00:00
sogabe 8ff7421a3e Added Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18140 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-16 01:27:20 +00:00
kohsuke 2d670b4913 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18139 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-16 01:11:54 +00:00
kohsuke ed1195af2a [maven-release-plugin] prepare release hudson-1_305
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18137 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-16 01:11:34 +00:00
kohsuke bff51eef80 documenting what this is
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18134 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-16 01:00:34 +00:00
kohsuke e7e3697148 Investigation of the test failures of Hudson on Hudson revealed that
the plxus/components.xml of maven-interceptor and maven2.1-interceptor
are picked up in the MavenEmbedder while parsing POM, which breaks
Maven 2.0.7 (that is, I needed to run the tests on Maven 2.0.7 to reproduce
the problem.)

So I'm adding the marker file so that our MaskedClassLoader can hide
them from Plexus when we start MavenEmbedder.

I hate making this kind of change in the RC branch, and this problem
doesn't appear to affect my RC deployment so far (so maybe this only
reproduces when we run Hudson inside Maven), but OTOH this should be
a fairly low risk change.


git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18126 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-15 21:23:03 +00:00
kohsuke 3ba9958c80 marking the file for interception only
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18125 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-15 21:16:59 +00:00
abayer 38f49ca392 [FIXED HUDSON-3506] - doWipeOutWorkspace now calls SCM.processWorkspaceBeforeDeletion before deleting, same as WorkspaceCleanupThread and AbstractProject.processDelete. If processWorkspaceBeforeDeletion returns false, will redirect to explanatory page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18107 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-15 17:03:22 +00:00
abayer 123e610c69 Now checks md5 digests before archiving, to prevent repeat archiving of identical files.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18105 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-15 04:01:21 +00:00
kohsuke b5af421470 added a probe to figure out the hang problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18104 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-15 02:34:18 +00:00
jglick 501a78fc39 I18N.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18100 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 23:30:25 +00:00
jglick a631eb9476 Backing out 17901; CommandInstaller.toolHome can in fact be distinct (even a relative path).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18099 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 22:56:40 +00:00
kohsuke b3665f7a18 Merged revisions 18002,18026-18027,18029-18030,18036,18040-18042,18068,18070,18093-18094 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r18002 | kohsuke | 2009-05-12 12:14:24 -0700 (Tue, 12 May 2009) | 1 line
  
  merging the RC branch
........
  r18026 | kohsuke | 2009-05-12 21:31:09 -0700 (Tue, 12 May 2009) | 1 line
  
  if "e" is <textarea> there won't be any @type
........
  r18027 | kohsuke | 2009-05-12 21:36:25 -0700 (Tue, 12 May 2009) | 1 line
  
  If distributed build isn't enabled, slave selection drop-down shouldn't be displayed in the job config.
........
  r18029 | kohsuke | 2009-05-12 22:00:03 -0700 (Tue, 12 May 2009) | 1 line
  
  documenting why we set system props
........
  r18030 | kohsuke | 2009-05-12 22:51:55 -0700 (Tue, 12 May 2009) | 1 line
  
  This just ends up passing the -B option twice.
........
  r18036 | kohsuke | 2009-05-12 23:17:30 -0700 (Tue, 12 May 2009) | 7 lines
  
  [FIXED HUDSON-2373] Modified to work with Maven 2.1. Sorry for a long delay, folks. This change will be in 1.305.
  
  We basically need an ability to feed different components.xml depending on Maven's version (which will be read by DefaultComponentDiscoverer in Plexus.) The implementation in this fix is hacky, and based on placing one more jar in front of the classpath when run on Maven 2.1, while maven-interceptor still contains the default components.xml for 2.0.x.
  
  Ideally 2.0.x components.xml should move to its own jar and so that we can switch between them, as opposed to pass in extra jar only when it's Maven 2.1.
  
  We'll see how Maven 3.0 works with this regard.
........
  r18040 | kohsuke | 2009-05-13 10:31:59 -0700 (Wed, 13 May 2009) | 1 line
  
  improved error handling
........
  r18041 | kohsuke | 2009-05-13 10:34:14 -0700 (Wed, 13 May 2009) | 1 line
  
  Long lines in console output are now wrapped in most browsers.
........
  r18042 | kohsuke | 2009-05-13 11:02:52 -0700 (Wed, 13 May 2009) | 1 line
  
  documenting what it does.
........
  r18068 | kohsuke | 2009-05-13 15:15:24 -0700 (Wed, 13 May 2009) | 1 line
  
  [FIXED HUDSON-3653] Fixed in 1.305
........
  r18070 | kohsuke | 2009-05-13 15:28:04 -0700 (Wed, 13 May 2009) | 1 line
  
  creating a new RC branch
........
  r18093 | kohsuke | 2009-05-14 10:05:16 -0700 (Thu, 14 May 2009) | 1 line
  
  [HUDSON-3684] In 1.305 I improved error diagnostics to show why the loading of Winp failed, so please try that and report back the new error message you get.
........
  r18094 | kohsuke | 2009-05-14 10:28:33 -0700 (Thu, 14 May 2009) | 1 line
  
  fixed a typo as pointed out by Jesse, so that this change can make it into 1.305.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18097 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 18:55:35 +00:00
kohsuke b91ce827d5 fixed a typo as pointed out by Jesse, so that this change can make it into 1.305.
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18094 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 17:28:33 +00:00
kohsuke a98365d331 [HUDSON-3684] In 1.305 I improved error diagnostics to show why the loading of Winp failed, so please try that and report back the new error message you get.
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18093 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 17:05:16 +00:00
kohsuke af6b7989b8 removing deprecation marker
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18092 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 16:48:24 +00:00
kohsuke 731dcf414e Remote API served incorrect absolute URLs when Hudson is run behind a reverse proxy.
(<a href="http://www.netbeans.org/issues/show_bug.cgi?id=165067">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18091 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 16:35:32 +00:00
kohsuke 2765070f4f since there's no drop in replacement, this method can't be quite marked as deprecated
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18090 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 16:31:15 +00:00
kohsuke e83ebcced2 <tt>X-Hudson</tt> header was sent for all views, not just the top page.
(<a href="http://www.netbeans.org/issues/show_bug.cgi?id=165067">report</a>)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18089 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 16:25:34 +00:00
jglick b25351ccce Updated @since for tool auto-installation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 05:37:46 +00:00
kohsuke c4ea15b07f Merged revisions 18077 via svnmerge from
https://www.dev.java.net/svn/hudson/trunk/hudson/main

........
  r18077 | kohsuke | 2009-05-13 19:10:11 -0700 (Wed, 13 May 2009) | 1 line
  
  [FIXED HUDSON-3497] Maven generated site results in 404 because Stapler didn't recognize doDynamic(void)
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18079 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 02:18:52 +00:00
kohsuke eedfe7c5c2 Initialized merge tracking via "svnmerge" with revisions "1-18069" from
https://www.dev.java.net/svn/hudson/trunk/hudson/main


git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18078 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 02:17:29 +00:00
kohsuke cd97f74333 [FIXED HUDSON-3497] Maven generated site results in 404 because Stapler didn't recognize doDynamic(void)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18077 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-14 02:10:11 +00:00
kohsuke 68f5615cd9 until SEZPOZ-6 is fixed, we can't mark the @Extension as Retention(RUNTIME), so the sort order won't take effect.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18074 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-13 23:09:15 +00:00