kohsuke
6c1e8ba9a7
added a new convenience class for building JVM parameters.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31778 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 17:45:04 +00:00
mindless
ad87c2e646
[FIXED HUDSON-6701] make getView fallback to subview of primary view,
...
if that view is a ViewGroup.. this allows a Nested View to be used as
the default/primary view.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31776 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 16:47:05 +00:00
kohsuke
b682a5b28d
added an ability to use a separate object for a lock.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31751 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 06:06:52 +00:00
kohsuke
82252f7d56
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31740 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-04 23:26:19 +00:00
kohsuke
fbb592062b
moved the help file to where it should be, in the current scheme.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31705 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-03 17:16:51 +00:00
mindless
2281ccb541
avoid NPE if null href given to hyperlinkMatchesCurrentPage
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31701 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-03 16:26:58 +00:00
kohsuke
c45b11b74b
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31654 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 23:36:13 +00:00
kohsuke
41bdf310d3
improve error diagnostics.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31636 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 18:47:40 +00:00
mindless
af832b83d3
[HUDSON-6667] wait indefinitely for quiet down to complete,
...
instead of waiting just 10 seconds and proceeding with restart (not so safe!)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31633 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 14:41:02 +00:00
kohsuke
33120af1ea
[FIXED HUDSON-6667] Background threads should run as the SYSTEM user.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31608 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 00:22:53 +00:00
kohsuke
4af4d5bf80
added symlink handling.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31606 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 23:45:02 +00:00
kohsuke
c89f2f046d
added stapler data binding support
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31593 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 20:58:58 +00:00
kohsuke
90cc821d9b
Merged revisions 31455,31486,31525,31527,31531 via svnmerge from
...
https://svn.dev.java.net/svn/hudson/branches/rc
........
r31455 | mindless | 2010-05-27 22:01:37 -0700 (Thu, 27 May 2010) | 5 lines
[FIXED HUDSON-6459] Fix in 1.358 did not work because exception thrown
when Cipher is used, not when it is created. Refactor to use a system
property to force a particular provider, so Glassfish Enterprise users
can workaround this glassfish bug until it is fixed. In 1.360.
........
r31486 | kohsuke | 2010-05-28 09:54:50 -0700 (Fri, 28 May 2010) | 1 line
[HUDSON- 6654] added a system property 'hudson.DNSMultiCast.disabled' that can be set to true to disabled jmDNS entirely.
........
r31525 | kohsuke | 2010-05-28 22:46:32 -0700 (Fri, 28 May 2010) | 1 line
[maven-release-plugin] prepare release hudson-1_360
........
r31527 | kohsuke | 2010-05-28 22:46:47 -0700 (Fri, 28 May 2010) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r31531 | kohsuke | 2010-05-29 00:16:14 -0700 (Sat, 29 May 2010) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31587 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 19:22:56 +00:00
mindless
4641247b11
[FIXED HUDSON-5091] better error handling for dumpExportTable
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31586 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 18:50:11 +00:00
StevenGBrown
33a271f65e
[FIXED HUDSON-6262] File parameter builds started with the CLI command no longer throw an NPE.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31582 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 16:21:45 +00:00
kohsuke
4a65156106
integrated a new version of stapler that allows constructor parameter names to be retrieved from the debug info.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31575 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:14:01 +00:00
kohsuke
29c4d4d76e
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31574 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:11:22 +00:00
kohsuke
78c71a5e60
model objects should be self-persisting.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31573 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:10:38 +00:00
kohsuke
066d5637fa
[FIXED HUDSON-4930] Allow the build number to be set so long as it's still bigger than the last build.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31572 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:09:47 +00:00
kohsuke
68a78d2f3c
set the encoding to UTF-8
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31566 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 15:41:41 +00:00
mindless
027edac3a7
[FIXED HUDSON-6660] use configured/specified quiet period (delay parameter) for
...
parameterized build via doBuild (delay was only supported via buildWithParameters)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31544 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-30 20:40:04 +00:00
mindless
853da6b65b
[FIXED HUDSON-6642] use JSON data instead of req.getParameter to avoid conflict when
...
fingerprinting is used more than once in form (like with promoted builds plugin).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31536 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-29 16:08:07 +00:00
kohsuke
1921f721f7
added get(int)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31491 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 17:45:31 +00:00
kohsuke
71794c744a
[HUDSON-6649] added additional logging so that we can see what's going on during the restart. This will be in 1.361.
...
If you can run it and get back to us with the output, that would allows us to figure out why safe restart isn't working for you.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31484 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 16:10:56 +00:00
mindless
1a28a34187
[FIXED HUDSON-6435] move "Checking cyclic dependencies" step to PLUGINS_PREPARED
...
to avoid possible ConcurrentModificationException when optional dependencies are
being processed in PLUGINS_LISTED phase.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31481 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 15:21:15 +00:00
mindless
cb65e33c6b
[FIXED HUDSON-6459] Fix in 1.358 did not work because exception thrown
...
when Cipher is used, not when it is created. Refactor to use a system
property to force a particular provider, so Glassfish Enterprise users
can workaround this glassfish bug until it is fixed. In 1.360.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31455 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 05:01:37 +00:00
jpederzolli
c4f6034a11
Issue: HUDSON-2494
...
patch to prevent copied jobs from running until initial save
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31444 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-27 21:11:04 +00:00
kohsuke
7d3745cdef
fixed NPE in case of abnormal shutdown
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31436 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-27 17:10:49 +00:00
kohsuke
374b3c0565
added a few convenience classes around Queue.Task
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31416 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-27 00:45:52 +00:00
pgweiss
886afcba04
Avoid race condition that can lead to a job being executed concurrently on two different executors by accident.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31362 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 16:21:10 +00:00
kbertelson
5c3ef69aed
[FIXED HUDSON-6180] Queue.FlyWeightTask objects now respect labels assigned to them when scheduling. Enables Matrix Tie Parent Plugin.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31360 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 16:05:05 +00:00
jglick
4f84dd156b
Useless Object.toString in Hudson log; should show project name & build number.
...
May 25, 2010 8:15:04 AM hudson.model.AbstractBuild$AbstractRunner checkout
INFO: hudson.model.FreeStyleBuild$RunnerImpl@3e4fc3 aborted
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:165)
at hudson.Proc$LocalProc.join(Proc.java:179)
at hudson.Launcher$ProcStarter.join(Launcher.java:278)
at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:506)
at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:436)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1044)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
at hudson.model.Run.run(Run.java:1241)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31359 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 15:05:30 +00:00
swiest
4877dba639
Fixed typo in javadocs (trivial).
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31338 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 11:27:29 +00:00
mcrooney
d41634119f
add lastUnstableBuild and lastUnsuccessfulBuild permalinks to a job page
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31329 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 02:03:18 +00:00
kohsuke
690acbc37f
[FIXED HUDSON-6598] applied a patch from Mike Dillon, plus the separate independent extension point. In 1.360.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31304 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-24 20:59:10 +00:00
kohsuke
0263abd568
failing to parse the version number shouldn't halt the system.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31303 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-24 20:50:23 +00:00
pgweiss
f4311e4920
Don't abort the build just because we hit an error when trying to explain why there was no matching artifact.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31302 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-24 19:57:07 +00:00
kohsuke
9ed9a592e6
NPE guard
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31102 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-17 21:22:31 +00:00
kohsuke
4e72f92bc7
Refactored FilePath to expose the archive handling code.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31064 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-15 13:40:29 +00:00
kohsuke
d82b85716f
added a DNS-multicast discovery support.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31053 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-15 01:35:18 +00:00
jglick
7ba6e1b134
[FIXED HUDSON-6516] Make stdio trimming optional.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31016 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-13 17:38:04 +00:00
jglick
876e897508
Fixing compilation error introduced by kohsuke in 31001.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31015 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-13 16:15:23 +00:00
kohsuke
86133323d3
added -block and -timeout to the quiet-down command.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31001 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-13 05:31:19 +00:00
kohsuke
23c6d4b3ca
simplified by using the reflection utility.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31000 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-13 05:28:43 +00:00
kohsuke
9db1a3799b
added a reflection helper method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30999 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-13 05:27:52 +00:00
jglick
f4cc4245da
[FIXED HUDSON-6516] Trim stdout/stderr of passing tests to around 1Kb. Otherwise Hudson easily gets OOME.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30978 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-12 23:12:57 +00:00
jglick
554f1c0fa0
testLocate failed in continuous build; at least make it fail with a meaningful message.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30976 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-12 22:18:04 +00:00
mindless
da236bad5e
Support "optional=true" parameter for @Extension to logging exceptions at FINE
...
level (instead of WARNING) for any class loading problems reading the extension.
Also move up to sezpoz 1.7 and remove catch block for LinkageError in
ExtensionFinder.. sezpoz should now throw only InstantiationException.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30963 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-12 19:44:08 +00:00
kohsuke
9b2d10993c
fail the build in case of an uncaught exception.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30956 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-12 00:23:44 +00:00
mindless
ed81cd5f54
[FIXED HUDSON-6494] fix FilePath.getParent() so parent of /foo is /
...
(not "."), and handle edge case so path with no parent ("/" or "abc")
returns null instead of getting IndexOutOfBoundsException.
(returning null is consistent with File.getParentFile())
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30917 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-11 17:04:38 +00:00