kohsuke
3e1c880249
improved error handling.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4815 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-19 18:36:05 +00:00
kohsuke
cec3132338
fixed NPE.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4814 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-19 18:34:12 +00:00
jbq
ef2e13bbf4
Issue number: 826
...
Provide a useful error message
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4813 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-19 13:12:53 +00:00
jbq
c1f7ee6dda
Improve Javadoc for the "artifacts" field, taken from Ant literally
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4803 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-18 10:53:43 +00:00
jbq
0651632745
Compute version number before loading Hudson, so that the HudsonIsLoading page
...
displays a version number
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4802 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-18 10:51:47 +00:00
jbq
8335306844
Fix a socket leak in SubversionSCM introduced in 1.137
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4801 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-18 08:32:49 +00:00
kohsuke
df02e6ddbd
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4784 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 23:46:52 +00:00
kohsuke
4b31585a8f
initialization is now performed outside the main thread to provide better UI feedback during the initialization ( #756 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4783 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 23:46:12 +00:00
kohsuke
9151c497a9
displaying timestamp for slave logs ( #791 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4779 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 17:22:12 +00:00
kohsuke
ffbb4b5670
added a version that does formatting.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4778 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 17:21:13 +00:00
kohsuke
ab6930fdfc
added a convenience method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4777 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 17:17:46 +00:00
kohsuke
756e593f3d
relying on Util.copyStream causes unnecessary dependency to Ant class used in the Util class ( #802 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4776 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 16:08:39 +00:00
kohsuke
b5c0c11d33
added WebSVN implementation contributed by jasonchaffee.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4774 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 06:24:23 +00:00
kohsuke
a0ade5f89b
@stapler-constructor is deprecated.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4773 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 06:19:15 +00:00
kohsuke
3ae5020266
There's always something new in Maven to hate about!
...
Fixed #812 .
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4771 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-16 04:33:29 +00:00
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