Commit Graph
901 Commits
Author SHA1 Message Date
kohsuke bfb1f246ee lsof report from an user (Ray V) revealed file handle leaks here, so maybe some XSLT implementations don't close the stream correctly.
So I decided to open/close streams by myself.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3442 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-14 05:41:48 +00:00
kohsuke c1a629781e fixed a FileReader leak.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3441 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-14 05:28:26 +00:00
kohsuke ff4beb2c78 fixed #590. While it's bit ugly, always adding the 'Attic' in the path component seems to make things work.
See https://hudson.dev.java.net/issues/show_bug.cgi?id=590 for more details.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3435 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 05:49:34 +00:00
kohsuke bba36dc48a reorganized imports.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3434 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 05:42:23 +00:00
kohsuke 7418463e14 Added a link to the official URL reference.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3433 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 05:40:35 +00:00
kohsuke 08d4da2030 Fixed #589. "rev" is probably an old query parameter name, but ViewVC 1.0.4 (such as http://svn.apache.org/viewvc) seems to accept rev.
See https://hudson.dev.java.net/issues/show_bug.cgi?id=589 for more detailed analysis.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3432 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 05:32:11 +00:00
kohsuke 2a5786f21b I think I fixed an NPE reported in #588, but don't know for sure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3431 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 05:22:25 +00:00
kohsuke 0d523ff904 reorganized imports.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3430 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 05:09:01 +00:00
kohsuke 2472685f7c fixed NPE (#586)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3428 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-13 04:49:08 +00:00
kohsuke 12084e6306 rolling back parallel loading for now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3416 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-08 15:24:25 +00:00
kohsuke 111e1a88a2 Subversion tagging support goes live.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3414 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-08 04:54:10 +00:00
kohsuke eb44a8fc60 improved the XML representation of CopyOnWriteMap.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3413 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-08 04:50:12 +00:00
kohsuke e02e6b6585 reorganized import statements.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3412 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-08 04:49:51 +00:00
kohsuke 762a4b9483 reorganized import statements.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3411 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-08 04:49:34 +00:00
kohsuke 16e619b919 display tags that were already created.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3408 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 16:06:58 +00:00
kohsuke e41cbcdd99 needs to save the state once the tagging is complete.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3407 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 06:29:35 +00:00
kohsuke 79e53231b8 file:// URL handling needs a non-null SVNAuthentication object to be returned.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3406 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 06:14:36 +00:00
kohsuke a95ce545f5 when there's just one module, showing a checkbox is silly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3405 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 05:56:36 +00:00
kohsuke a9684270e9 making more progress. bug fixes and added "clear error" support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3404 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 05:53:09 +00:00
kohsuke 27ef6caa74 implemented tag name suggestion algorithm.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3403 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 05:46:27 +00:00
kohsuke 2edbbe9cf1 making more bug fixes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3400 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 05:21:35 +00:00
kohsuke 5c2f7cbd91 started implementing the tagging support for Subversion.
relevant code from CVSSCM is extracted for reuse. This is still a work in progress.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3399 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-07 05:15:46 +00:00
kohsuke 79a60013a5 added color palette for line charts
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3397 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-06 15:10:57 +00:00
kohsuke 557cf03f42 added this to compress some files (such as build log) but in the end I decided not to do this.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3396 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-06 06:16:48 +00:00
kohsuke 3386a705ce experimentally loading jobs and builds by using multiple threads. Hopefully this reduces the load time.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3395 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-06 05:01:36 +00:00
kohsuke 396bec74df typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3391 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-06 03:29:04 +00:00
kohsuke d68cb1d1ed added <img alt="..."> for some of HTMLs. (issue #573)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3389 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-06 03:11:03 +00:00
kohsuke 18e3a58f9d avoid NPE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3387 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 21:46:11 +00:00
kohsuke 2c6bf3ad55 fixed #569. A reconfigured module needs to be enabled.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3382 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 20:40:27 +00:00
kohsuke 2d7df4289c this class needs to be public so that its MAX_AGE can be controlled.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3381 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 20:37:17 +00:00
kohsuke accab15c1a fixed #564. User info needs to be reloaded.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3380 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 19:04:30 +00:00
kohsuke 5d92508ee4 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3379 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 18:34:27 +00:00
kohsuke 254eeab525 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3378 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 18:31:12 +00:00
kohsuke 3ca379df39 rolling back JNLPSecurityMode before a release. I would like to have more discussion
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3371 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 03:24:18 +00:00
jglick 160b9535d8 Link to (detailed) changes list from a broken build message.
That is (in my experience anyway) usually what you want to see right away.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3366 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-01 20:36:21 +00:00
kohsuke 8718c5586f made build wrappers web visible.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3363 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-30 22:32:49 +00:00
stephenconnolly 8b4be31c6d Issue number: 561
Backing out some of the changes and adding more obvious warnings.  Will see about backing more of these and moving them to a new branch


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3354 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-27 10:28:25 +00:00
stephenconnolly 3861e32ad5 Backing out providing default implementations of dynamic labelers
(Leaving dynamic labelers in place for the time being)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3353 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-27 10:15:21 +00:00
kohsuke e298fe3413 improved the error handling on failure to create hudson home (issue #558)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3352 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-25 23:08:00 +00:00
kohsuke efa072c232 fixed NPE as reported in http://www.nabble.com/Possible-NPE-bug--tf3793595.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3351 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-25 22:41:50 +00:00
kohsuke ab11e41d93 Workaround for Eclipse JDT bug. See http://www.nabble.com/Eclipse-Compile-Error-in-Job.doConfigSubmit%28%29-tf3794908.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3350 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-25 22:41:02 +00:00
stephenconnolly 668e32b632 Adding ability to have labels determined for machines at runtime. (hacky implementation in parts. I think labelling may need a bit of a rework as I want to have labels for JDKs that know where the JDKs are, labels for Maven versions that know where these Mavens are, etc)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3349 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-25 15:36:24 +00:00
stephenconnolly 476b13fcf4 Adding feature to allow controlling when and where the JNLP launch URL is exposed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3348 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-25 13:16:04 +00:00
stephenconnolly 59f9b2fcfe Don't print error messages when they are not needed!
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3347 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-25 11:17:14 +00:00
stephenconnolly 88e9cf904c Avoid NPE when there are no slaves defined.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3346 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-24 14:58:28 +00:00
kohsuke 16ee6c7f31 added defensive code to fix the NPE as reported below:
I sporadically get a NPE when trying to send an email at the end of a build:
Recording test results
FATAL: null
java.lang.NullPointerException
	at hudson.tasks.MailSender.createFailureMail(MailSender.java:157)
	at hudson.tasks.MailSender.getMail(MailSender.java:87)
	at hudson.tasks.MailSender.execute(MailSender.java:64)
	at hudson.tasks.Mailer.perform(Mailer.java:61)
	at hudson.model.Build$RunnerImpl.post(Build.java:137)
	at hudson.model.Run.run(Run.java:573)
	at hudson.model.Build.run(Build.java:101)
	at hudson.model.Executor.run(Executor.java:61)
I haven't narrowed down if this happens only for failed builds or for any
build.  Once it happens the only way it goes away is if I clear the email
option, save, and reset it.
Any ideas what's going on?
Rich
ePlus Consulting
-- View this message in context: http://www.nabble.com/NPE-trying-to-send-email-tf3772528.html#a10666153 Sent from the Hudson users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net For additional commands, e-mail: users-help@hudson.dev.java.net


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3345 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-19 08:23:50 +00:00
kohsuke 4c8a2e5418 error handling improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3344 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-19 08:20:41 +00:00
kohsuke 1a7d6ef579 Making room for Config-less slave connection support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3342 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-19 07:46:41 +00:00
kohsuke 1f2761ec34 implemented label support. Slaves can be grouped into labels and jobs can be tied to labels.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3341 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-19 07:24:01 +00:00
stephenconnolly 71de79e257 Issue number:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3339 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-18 16:36:06 +00:00