Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke 6ad22bb22f Got to the point that it works
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9622 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-24 23:23:38 +00:00
swiest ed1b08558a Extended coverage of German localization of help files.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9619 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-24 14:08:23 +00:00
swiest aa4f6b4998 Fixed typo in help text (trivial).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9618 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-24 14:07:27 +00:00
kohsuke 32913046e2 [FIXED HUDSON-1672] Fixed NPE in fingerprinting. Will be in 1.219
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9617 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 21:34:57 +00:00
kohsuke f10090e2b8 [FIXED HDUSON-1648]
A debug code crept in. When Hudson's own user database is used, every user got the "admin" role.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9616 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 21:19:44 +00:00
kohsuke 704343f57e [FIXED HUDSON-1458] Fixed the mysterious JVM hang issue on Windows&Maven2.
I spent a good part of yesterday afternoon to track down this problem. I first attached Visual Studio to the hanging JVM. While I can see the JVM source code and Windows API symbols all right, I couldn't figure out how to relate back the code produced by JIT to its Java, so this made the debugging very hard.

What I observed was that Maven's main thread seems to be blocked in WaitForSingleObject kernel API, but I can't figure out what handle it's blocking on. This call appears to come directly from JIT-ed Java code.

The problem disappears if I enable Java debugger support, or if I attach jconsole. So this cannot be a plain Java-level deadlock.

So after that much work, I still coudldn't figure out the root cause.


But I took the advice from mriem@dev.ajva.net anyway, and modified the remoting to use a separate TCP socket, instead of stdin/stdout. This is useful anyway, because sometimes JVM writes out to stdout and that breaks the whole set up, which was one of the known issues.

This commit brings in this change, and in the limited testing so far, this appears to work. So let's hope that it fixes the problem once and for all.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9615 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 20:48:09 +00:00
bagrehc 7ecdd1b6bc Translated to portuguese-brazil.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9614 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 18:06:35 +00:00
bagrehc 9a039c4174 Translated to portuguese-brazil.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9613 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 18:05:53 +00:00
kohsuke f70901a7c6 when the slave is offline, don't crap out.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9612 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 17:43:09 +00:00
bagrehc fc7a82da8c Translated to portuguese-brazil.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9611 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 17:41:56 +00:00
kohsuke 38953b8869 [FIXED HUDSON-1589] Applied a patch from thepner.
My apologies for the delay in handling this.
This change will be in 1.219.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9609 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 15:18:57 +00:00
jazzjack 15923f9c6d Russian i18n updated
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9608 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 09:31:40 +00:00
kohsuke 82a594f496 [FIXED HUDSON-1730] Tagged builds will get a badge, just like locked builds
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9605 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 06:22:01 +00:00
kohsuke b9fc6fab16 added 16x16 save icon
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9604 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 06:02:34 +00:00
kohsuke d9840234a7 [FIXED HUDSON-1734] applied a patch from rfaber@dev.java.net. In 1.219
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9592 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-22 21:18:18 +00:00
kohsuke 7a5b6dea88 push permalink for hudson.war
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9538 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-22 01:33:31 +00:00
kohsuke bbc9229cf9 prevent new builds during deletion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9536 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 23:43:43 +00:00
kohsuke 2e7ddd7db7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9531 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 22:28:10 +00:00
kohsuke ab6a1e93f3 [maven-release-plugin] prepare release hudson-1_218
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9529 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 22:27:58 +00:00
sogabe 84c86522ed Improve japanese l10N
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9528 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 22:18:40 +00:00
redsolo 1ebb43b5f1 [fixed] Added ability to run Hudson JNLP in a headless env (issue #1732)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9519 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 21:07:50 +00:00
kohsuke 81eaa8af55 rolling back the synchronizatoin in closeChannel() for now to avoid NPE as discussed in "hudson 1.217 issue -" Please wait while hudson is getting ready to work..."
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9511 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 19:42:22 +00:00
stephenconnolly d6a3e23e2c public domain version from http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/TimeUnit.java?view=markup
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9510 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 19:40:12 +00:00
stephenconnolly fa2d986480 this call to launch causes a partially constructed object to escape the constructor.
I think this is the safest quickest fix until the proper fix is implemented

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9507 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 19:32:38 +00:00
kohsuke 757456ced0 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9502 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 16:24:07 +00:00
kohsuke a20165486d [maven-release-plugin] prepare release hudson-1_217
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9500 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 16:23:58 +00:00
kohsuke 739b625f26 needs to use the same listener or else the later will clover the former log.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9498 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 16:20:09 +00:00
kohsuke 0b2c506dbd removed TimeUnit2, which is under GPL and hence incompatible.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9497 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 16:19:05 +00:00
stephenconnolly 579c390ef6 I am unsure as to whether we should expose the closeChannel method on a SlaveComputer and have just one disconnect method, or use this before and after pair of methods to allow for tidy termination...
Also, I think there was a missing synchronized(channelLock) in closeChannel... now I'm wondering if the entire disconnect runnable should hold that lock... but it could be long running!

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9494 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 08:15:51 +00:00
stephenconnolly 70adc6fec1 backport of JDK 6 version of TimeUnit... it's just too handy to be able to convert from MINUTES, etc
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9492 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 08:08:01 +00:00
kohsuke 4db089d01e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9486 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 00:42:45 +00:00
kohsuke 36b18ec436 [maven-release-plugin] prepare release hudson-1_216
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9484 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-21 00:42:35 +00:00
stephenconnolly b002fdbc7a VMware will need a hook to shutdown the slave after disconnecting
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9483 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 22:14:32 +00:00
kohsuke 544f5d3e5f fixed the serialization error.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9472 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 17:00:42 +00:00
kohsuke 954b54bd2b Extract to ~/.hudson/war instead of /tmp so that files won't be deleted by the /tmp sweeper.
See reports like http://www.nabble.com/Missing-Hudson-icons-to17333588.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9470 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 16:52:24 +00:00
kohsuke f66c670f25 added more debug probe
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9465 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 06:11:14 +00:00
masanobuimai 5f278c8419 Fix Japanese l10n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9464 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 04:32:20 +00:00
kohsuke 25514b706b id is only used for sorting
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9463 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 00:06:01 +00:00
kohsuke 4a0d9d907d Information about how a task moves through various stages in the queue is very useful
for both smarter scheduling and better slave management. For that, we need to have
a real object to attach information to.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9462 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-20 00:04:37 +00:00
kohsuke b02f945dc3 field name changed to clarify the meaning.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9461 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 22:57:20 +00:00
kohsuke e7780ebd10 <p/> is not the right usage of the p tag.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9460 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 22:47:45 +00:00
kohsuke f855aa11bf doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9459 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 22:46:39 +00:00
kohsuke 6c5a18da8b doc fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9458 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 22:43:41 +00:00
kohsuke 2e243b8841 if the workspace is locked, wipe out and retry.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9456 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 22:34:11 +00:00
sorokh 7db8f87c98 dutch translation improvements
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9452 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 21:35:18 +00:00
sogabe 8468edd7e6 add Japanese l10N files
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9450 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 13:38:36 +00:00
sogabe 9839e2a1ac Fix & and Japanese l10N for master/slave
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9449 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 12:58:09 +00:00
stephenconnolly f07faa5060 defensive against negative or zero delays
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9447 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 04:02:01 +00:00
stephenconnolly db07f253fc better to have the demand start utility method in computer... it keeps the retention strategies simpler
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9446 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 03:50:45 +00:00
stephenconnolly c71690b7ca better logging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9445 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-19 03:46:06 +00:00