Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke ea020b4a78 D&D support in containe requires D&D to be loaded before container script
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18377 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-24 20:26:48 +00:00
mindless df1139d291 [FIXED HUDSON-3750] add toString() on upstream build# to avoid NumberFormat
being applied, which adds thousand separator.  this matches change made in
r15988 for HTML version of cause description.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18372 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-24 03:29:59 +00:00
kohsuke 5bb1e72657 if the computer is being launched, don't report it as an error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18346 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 22:20:25 +00:00
kohsuke 668f60507f init script (<tt>$HUDSON_HOME/init.groovy</tt>) is now run with uber-classloader.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18344 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 22:12:07 +00:00
kohsuke e0e39bc567 improved error diagnostics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18340 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 20:29:22 +00:00
kohsuke c3c1352028 removed warnings
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18330 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:26:42 +00:00
kohsuke d5df84ced8 i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18329 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:22:45 +00:00
kohsuke f74d84fda4 labels may not contain any Node at given point and still valid
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18328 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:19:37 +00:00
kohsuke f7ffc67fb7 correcting when to display labels and what to show there, by considering the presence of a cloud
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18327 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:14:49 +00:00
kohsuke 54e156cb73 use the latest and greatest
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18326 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:47:44 +00:00
kohsuke 50f84ab183 moved the code to Label
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18324 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:42:25 +00:00
kohsuke 02bd194fa2 simplified by adding a convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18323 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:40:23 +00:00
kohsuke 67d2c0aa73 master's labels need to be added to the label list early on
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18322 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:34:07 +00:00
kohsuke c4fd00ac1d my attempt to remove Rhino and CSS parser failed, but Xalan removal seems to work. I should look for a lighter-weight library
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18310 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 06:54:53 +00:00
kohsuke ca7e3facf5 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18309 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 06:13:23 +00:00
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