Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke e95a13141b added the warning method. Not implemented properly yet.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4768 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 00:48:23 +00:00
kohsuke c4a7d434bf added utility class to handle version number computation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4767 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 00:43:11 +00:00
kohsuke f1e701ecf4 added hook for derived types.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4766 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 00:34:48 +00:00
kohsuke 8333064579 when aborted, don't dump the stack trace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4761 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 00:03:29 +00:00
kohsuke 34a38180d8 E-mail notificaitons were not working with aggregator-style Maven2 builds.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4753 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 06:39:01 +00:00
kohsuke fa2fe21b60 build error message was not captured in the module console output.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4752 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 06:11:53 +00:00
kohsuke ed27cc5d0d search index should include m2 modules.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4751 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 05:47:57 +00:00
kohsuke 6e6179c3f8 search index should include m2 modules.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4750 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 05:38:08 +00:00
kohsuke b218180c5b added one more color state to distinguish a build state.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4749 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 05:14:44 +00:00
kohsuke ef82bbe86d don't build disabled modules.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4747 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 04:43:42 +00:00
kohsuke abf398b20f topological sort is only for active modules.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4746 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 04:36:20 +00:00
kohsuke b7a8c20efa this is not a good idea because "last successful build" and so on now breaks.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4745 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 04:24:25 +00:00
kohsuke a99ecdca9a merging aborted and failure should be a failure. This is particularly evident when an earlier failure stopped the maven module set build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4744 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 04:16:07 +00:00
kohsuke 9611122255 added transitive dependency support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4743 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-14 04:02:01 +00:00
kohsuke 379543f03f added more convenience methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4726 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-13 06:38:47 +00:00
kohsuke f4b3399f40 formatting changes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4725 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-13 06:21:00 +00:00
kohsuke 43c785db95 beter not to let null in the list.
See http://www.nabble.com/Maven2-questions-tf4423964.html for the context.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4724 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-13 06:20:41 +00:00
jbq 4ba8af4b0f Issue number: 763
Improve error message when project does not exist anymore


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4701 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-12 16:29:27 +00:00
jbq b40c6a556c Issue number: 806
Provide synchronous SCM polling in the order of dependencies.  For now, to
activate, edit hudson.triggers.SCMTrigger.xml and add
<synchronousPolling>true</synchronousPolling>

This change also relaxes visibility  of Trigger.run()  from protected  to
public.

TODO: connect the UI and provide a global crontab spec setting.  This will
probably happen when I get some feedback on this change.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4700 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-12 16:27:53 +00:00
dvrzalik 47deb5958b Missing maven module directory caused NPE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4699 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-12 14:53:20 +00:00
jbq 43d3c8ae0a Indent fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4698 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-12 09:07:51 +00:00
jbq d2f86caa3a Issue number: 763
Be smarter to detect that the remote location does not exist in SVN, by reusing
the code in DescriptorImpl.doSvnRemoteLocationCheck(). Catching SVNException is
not good-enough, as there's a large possible cause for SVNException, ranging
from connectivity issue to authentication issue to failure to lock the
workspace. Not all of them are permanent problems, and for many of them the
build shouldn't be marked as disabled.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4697 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-12 08:54:15 +00:00
kohsuke 856444d6fe avoid using ',' and '=' in a path name since various tools are often buggy in handling them.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4695 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 16:14:10 +00:00
jbq 969d69b9dd Issue number: 763
Disable project if an SVNException is thrown during polling.  In the future it
might be good to be more specific, ie recognize that the message in the cause
contains eg "Cannot replace a directory from within" to avoid disabling the
project when eg Internet is down.

NOTE: the fix has not been tested with multiple repositories set (any hint about
what's the point of multiple repositories per project is welcome).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4693 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 08:01:53 +00:00
kohsuke b320ac7390 promoted the API support up to Run since this is the exported bean.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4692 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 07:10:05 +00:00
kohsuke cad2a4c221 no JDK6 dependency.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4691 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 07:07:02 +00:00
kohsuke 34d46a35d1 doc update.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4690 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 07:00:26 +00:00
kohsuke e9ffeeee48 reimplemented a fix to #747 as the list of culprits is really not specific to e-mail.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4689 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 06:55:56 +00:00
kohsuke 95410ceae1 follow up change to hide internal state.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4688 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 05:34:47 +00:00
kohsuke d4b1cc9d6f removed the local posting support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4681 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-11 05:08:06 +00:00
jbq 2132acffd4 Issue number: 747
Changing project configuration was resetting the 'culprits' field to null


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4676 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-10 16:10:18 +00:00
jbq 829820259a Issue number: 747
Try to fix the NPE (I'm in a lack for a better idea to fix this)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4675 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-10 15:58:09 +00:00
jbq 2c35010120 Issue number: 747
List of possible culprits for repeated failed builds should be cumulative


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4666 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-06 16:12:40 +00:00
jbq ace3257db7 Issue number: 763
Gracefully handle project deleted in SVN.  Had to make AbstractProject.disabled
field public, but we might want to find a more elegant solution for this.  I've
seen other fields public in Hudson, so I guess it's OK, but I'd rather put some
more setters everywhere...


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4665 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-06 15:56:09 +00:00
jbq 931a158b06 Allow to instantiate SubversionSCM. See hudson/extras/tester
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4663 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-06 14:46:03 +00:00
kohsuke f071f2b958 explained how to write project-changes.jelly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4662 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-06 14:42:19 +00:00
jbq 24c4e90cc7 Allow to subclass Mailer and MailSender by setting a few fields/methods to
protected instead of private.  See hudson/extras/tester


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4661 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-06 13:02:45 +00:00
kohsuke 55acc24bac slave thread dump was not working in JDK5 (#792)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4654 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-06 04:33:55 +00:00
kohsuke bacb72743a if security is disabled simply follow the default.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4632 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-04 05:09:19 +00:00
kohsuke 852b2736c8 detect a situation described in http://hudson.gotdns.com/wiki/display/HUDSON/Spawning+processes+from+build and report this as a warning.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4631 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-04 05:02:28 +00:00
kohsuke 687eea501b didn't work as nicely as I thought. duration was OK, but last success/failure looked bit strange.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4630 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-04 04:32:16 +00:00
kohsuke 7bd3864a9a changing the formatting logic to display two significant digits.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4629 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-04 04:29:19 +00:00
kohsuke e53bbec6c1 fix for #585 was incomplete. Modified to properly detect symlinks, anywhere in the tree.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4617 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-03 15:51:15 +00:00
kohsuke 95270c3372 work correctly when surefire is invoked more than once.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4606 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-03 06:14:27 +00:00
kohsuke 5e04e91c65 defined another parse method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4605 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-03 06:13:53 +00:00
kohsuke b822046ff8 exposed the reset method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4604 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-03 06:06:22 +00:00
kohsuke 662db84a6f use the start time of the build since surefire plugin can be invoked multiple times. (#751)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4603 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-03 05:58:42 +00:00
kohsuke 290bbc2885 improved the root URL computation. (#781)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4592 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-03 00:12:13 +00:00
kohsuke 51a78d8827 given that this is used to read console output which can potentially include binary code, be lenient on errors (#778)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4588 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-02 22:48:08 +00:00
jglick ecad008bb9 #762: persist icon size cookie across browser sessions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4586 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-02 20:45:18 +00:00