kohsuke
d6419f1cf6
rolling back my 9366 to bring Stephen's slave related changes to the main line
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9382 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-18 17:10:09 +00:00
kohsuke
36c60b320b
rolling back my 9366 to bring Stephen's slave related changes to the main line
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9381 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-18 17:07:24 +00:00
kohsuke
d618dcbd76
Rolling back 9328,9331,9352-9354 as I still wanted to make some adjustments to them
...
before they are merged into the main line.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9366 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-17 17:54:45 +00:00
stephenconnolly
53db09e20d
Make the slave availability strategy actually do stuff!
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9354 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-17 10:14:05 +00:00
stephenconnolly
a3fe9ae91d
Make the slave availability strategy actually do stuff!
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9353 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-17 10:09:52 +00:00
stephenconnolly
c32b011d31
Making slave availability a strategy extension point
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9352 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-17 09:54:13 +00:00
kohsuke
d1e5182170
[FIXED HUDSON-1696] applied a patch. Be more lenient in comparing a version. Fixed in 1.216.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9334 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 19:06:38 +00:00
kohsuke
4645b8def8
handling the comparison little more carefully so that it can work with some "broken" CVS clients.
...
See http://www.nabble.com/Problem-with-polling-CVS%2C-from-version-1.181-tt15799926.html
Pasted below for convenience:
------
finally got time to do a little debugging. I didn't know what to look for
but this is what I found:
The call on isUpdatable in pollChanges returns false (not true as you said),
and it enters the if-statement which returns true.
Inside isUpdatable it enters the instance of the FileCallable object dir,
and the method invoke which returns false because isUpdatableModule is
false.
isUpdatableModule recognize module
(C:\workspaces\Hudson\main\war\work\jobs\MyProject_TEST\workspace\MyProject)
as a file and not a directory.
from isUpdatableModule it enters checkContents where it compares the
strings s and content.
Thees two strings are not equal (which they maybe should be?):
s = :pserver:usid@cvsserver:d:\cvsrepo
contents = :pserver:usid:uspwd@cvsserver:d:\cvsrepo
This, in the end, makes isUpdatable return false, as far as I can tell.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9332 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 18:42:44 +00:00
kohsuke
6d2d9a7803
use a dedicated List type
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9331 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 17:26:47 +00:00
kohsuke
47d481f88d
Allowed workspace directory to be customized.
...
See http://www.nabble.com/Customize-Workspace-directory-tt17194310.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9330 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 17:03:13 +00:00
stephenconnolly
948b6c0c33
Merging first round of UI changes require to enable plugable slave start mechanisms (which will be required in order to allow VMware/Xen slave starting)
...
Also splitting the configuration of slaves out from the configuration of everything else.
Hopefully this should not break stuff!
(Works for me!)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9328 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 12:07:35 +00:00
kohsuke
887b0163c1
fixed a bug where the distributed build setting fails to persist (!!)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9299 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-16 05:00:06 +00:00
kohsuke
99bec6c1fa
added support for PuTTY key format
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9266 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-15 18:34:45 +00:00
kohsuke
f3d2424476
corrected the comment.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9245 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-14 22:06:49 +00:00
kohsuke
3b2ffa3ebf
[fixed] redeployment stopped working. In 1.214. (issue #1671 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9243 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-14 22:03:03 +00:00
kohsuke
d32fcc4e61
typo
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9242 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-14 21:58:36 +00:00
dwdyer
910b3dae95
Fix for incorrect test result links when project name contains spaces (ISSUE#1666).
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9224 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-13 19:01:39 +00:00
kohsuke
0e71696034
[fixed] A slave may still run on Java5 even when the master runs on Java6. In 1.214. (issue #1568 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9208 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-13 01:34:40 +00:00
kohsuke
fa3424ca2b
doci mprovement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9207 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-13 01:33:15 +00:00
kohsuke
197a3012e4
Rolling back the previous fix.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9206 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-13 01:09:19 +00:00
kohsuke
6502ced79c
clarified the default behavior of the newInstance method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9205 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-13 00:57:09 +00:00
kohsuke
c0dca14599
improved the robustness in case of failed rename (issue #1662 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9106 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-11 03:22:41 +00:00
kohsuke
5166e6f36c
supported HTTP DELETE on jobs
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9104 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-11 03:05:55 +00:00
mdonohue
680d4a42a4
Add a renameTo method to the FilePath class
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9078 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-08 04:48:09 +00:00
redsolo
82780ed40e
Accessing workspace no longer throws NPE if last used slave is offline (issue #1657 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9069 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-07 20:42:06 +00:00
redsolo
e2871c00a2
[fixed] Workspace link generates NPE when workspace contains files that Hudson can not access (issue #1633 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9065 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-07 19:32:42 +00:00
kohsuke
e987d2709b
It's not obvious to me if the race condition could ever occur, but Rama and I experienced a very suspicious failure once, and we are hoping that this would fix it.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9018 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-03 00:31:13 +00:00
kohsuke
51492cc788
infer default Hudson URL little more eagerly.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9002 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 22:55:40 +00:00
kohsuke
cf218bbc22
In lower resolution systems, create smaller test trend chart.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9000 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 22:12:34 +00:00
redsolo
b3f8f5369b
[fixed] Added "View workspace" permission to the matrix based security. (issue #434 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8998 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 21:59:49 +00:00
kohsuke
da529b0344
adding a probe to better diagnose the missing Content-Length header issue.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8996 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 17:01:22 +00:00
redsolo
6317d1e158
[fixed] More help when configuring new slaves (issue #1530 )
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8991 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 08:55:26 +00:00
kohsuke
3e3ebd1cfb
not used
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8988 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 00:12:54 +00:00
kohsuke
58ec884f18
added support for aggregated Maven javadoc report.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8986 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-01 00:03:32 +00:00
kohsuke
c38caffd90
applied a patch from Kenji Nakamura.
...
See http://www.nabble.com/BuildWrapper-plugin-support-for-m2-jobs--tt16728753.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8967 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-29 18:06:55 +00:00
kohsuke
7209e99438
bre more forgiving about the root POM location to make up for the somewhat arbitrary choice of the base directory. (issue #1293 ) [fixed] in 1.213
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8954 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-29 06:02:49 +00:00
kohsuke
004f1d8f71
expanded search index to include actions
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8953 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-29 05:52:21 +00:00
kohsuke
9cede5accc
choose a default value that is a valid e-mail address.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8949 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-29 05:09:24 +00:00
kohsuke
8470d6e800
build triggering needs to be done for automatically declared dependencies, even when no manual dependencies are specified.
...
See http://www.nabble.com/A-Patch-to-stop-BuildTrigger-importing-foreign-deps-tt16805157.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8898 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-28 06:02:44 +00:00
kohsuke
2c82f46707
improved the robustness of the log parsing.
...
Patch contributed by Leo Yamamoto at http://www.nabble.com/Possible-reason-for-Hudson-reporting-%22No-changes%22-with-CVS--tt16906030.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8895 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-28 05:01:22 +00:00
kohsuke
25e2010fae
Maven2 should have mostly displaced Maven1 now, so we should default to Maven2
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8883 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-27 18:29:09 +00:00
kohsuke
9a9885f820
Stopped installing artifacts to the master's repository.
...
As I use Maven more seriously, I started to feel that more isolations of m2 repositories are necessary among builds, not the opposite.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8869 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-27 00:32:55 +00:00
kohsuke
b8dacb0637
fixed a possible infinite loop. This doesn't eliminate the possibility that context classloader has UberClassLoader as an ancestor, but it fixes the problem Rama is seeing.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8868 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-27 00:27:13 +00:00
kohsuke
8fc3470217
fixing data race conditions
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8861 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-25 21:25:33 +00:00
mdonohue
f4094b94b5
Fix a misleading comment. I spent for too long searching for
...
floatBox.jelly, when it's really floatingBox.jelly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8855 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-25 05:26:59 +00:00
kohsuke
2b9adecd9d
applied a patch from http://www.nabble.com/A-Patch-to-stop-BuildTrigger-importing-foreign-deps-td16805157.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8853 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-25 01:50:33 +00:00
kohsuke
fa69255f09
adding a hook to disable the cache, until the day I manage to get rid of the caching all together.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8829 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-24 06:07:09 +00:00
kohsuke
049b55e9e5
preventive fix for issue #1583
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8827 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-24 05:27:03 +00:00
kohsuke
2ea21f6b0a
joing method is already available in Util (although I agree that it's not really discoverable)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8800 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-23 15:20:19 +00:00
redsolo
13fd9ebd21
Moved dependency checks to loadPluginDependencies() and improved exception to include all missing dependencies.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8799 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-23 13:05:45 +00:00