Commit Graph
3010 Commits
Author SHA1 Message Date
kohsuke 0ba79f4915 bug fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4894 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-22 16:53:52 +00:00
kohsuke 19ad2a404b improved thread death error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4893 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-22 16:39:31 +00:00
kohsuke 0362860cfe axis should be parsed only when "[x] Axes" is checked (#839)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4885 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-22 04:28:21 +00:00
kohsuke 894a64328e removed negative phrasing (#827)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4884 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-22 04:19:24 +00:00
kohsuke 66a63b2689 fixed a bug where actions from job properties are not reflected to MatrixProject.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4878 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-21 14:40:45 +00:00
kohsuke b47f0f9ea9 fixed a reported NPE.
[#|2007-09-20T13:54:24.898-0700|WARNING|sun-appserver9.1|javax.enterprise.system.
stream.err|_ThreadID=15;_ThreadName=hudson initialization
thread;_RequestID=632d2
69a-d19a-4746-836b-0357edcfe60b;|java.lang.NullPointerException
        at
java.util.Collections$UnmodifiableCollection.<init>(Collections.java:9 94)
        at
java.util.Collections$UnmodifiableList.<init>(Collections.java:1148)
        at java.util.Collections.unmodifiableList(Collections.java:1134)
        at hudson.model.Hudson.getSlaves(Hudson.java:672)
        at hudson.model.AbstractProject.<init>(AbstractProject.java:136)
        at hudson.model.Project.<init>(Project.java:48)
        at
hudson.matrix.MatrixConfiguration.<init>(MatrixConfiguration.java:35)
        at
hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:2 17)
        at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:120)
        at hudson.model.Items.load(Items.java:80)
        at hudson.model.Hudson.load(Hudson.java:1034)
        at hudson.model.Hudson.<init>(Hudson.java:232)
        at hudson.WebAppMain$1.run(WebAppMain.java:104)
|#]


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4856 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 21:58:49 +00:00
kohsuke ebc21c65a9 escape URL unsafe names.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4854 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 21:37:43 +00:00
jbq 3d0793dd73 Indent fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4835 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 10:50:01 +00:00
jbq 459b570487 Check that previous synchronous polling job is done to prevent piling up too many jobs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4834 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 09:56:30 +00:00
jbq 2d0f69d544 Resize the thread pool also when setPollingThreadCount() is *not* called during load()
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4833 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 09:53:10 +00:00
jbq 62a295ecf4 Improvements to SCMTrigger:
* Call save() in configure() instead of setPollingThreadCount(), as calling save() during load() is awkward
* Resize the thread pool when setPollingThreadCount() is called
* Do not perform SCM polling when Hudson is shutting down


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4831 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 09:30:13 +00:00
kohsuke 976b1bb314 protect logs from unauthenticated users.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4824 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-20 01:19:02 +00:00
kohsuke 9f948acfc8 fixed a dead lock when the configuration build is cancelled from the queue.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4817 71c3de6d-444a-0410-be80-ed276b4c234a
2007-09-19 21:39:56 +00:00
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