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
mindless
e41e9c7964
[FIXED HUDSON-6476] Fix to handle usernames with colon character on Windows.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30882 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-10 20:53:18 +00:00
kohsuke
33f26e439a
Hudson shouldn't show a login error page unless the user really failed to login (think about when the user presses a back button.)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30828 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-07 22:36:13 +00:00
kohsuke
eae388edff
formatting changes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30811 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-07 18:52:32 +00:00
kohsuke
29ec8a8a1f
clarified doc.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30808 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-07 18:46:06 +00:00
kohsuke
2e13eb03dd
Added a convenience method to reduce the invocation of a deprecated method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30806 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-07 18:23:26 +00:00
mindless
44096c0d14
[FIXED HUDSON-6437] don't use LIBC outside catch block for LinkageError.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30794 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-06 23:47:32 +00:00
mindless
1ac357c2ea
[FIXED HUDSON-6459] workaround for bug in Glassfish Enterprise
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30793 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-06 23:22:23 +00:00
mindless
1ee0988b06
update javadoc reference based on r30748 change
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30751 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-05 20:19:13 +00:00
jglick
7cff653800
Do not make DescriptorExtensionList attempt to override a static method from ExtensionList. Should fix CCE caused by last commit.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30748 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-05 18:48:48 +00:00
kohsuke
b31b67cc5d
also do chmod(2) in an attempt to make a file writable.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30734 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-05 04:15:53 +00:00
kohsuke
617af7ded3
merged back the RC branch
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30703 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 17:14:24 +00:00
jglick
57a59c535e
[FIXED HUDSON-5884] Making compilable with JDK 7 javac.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30701 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 15:40:41 +00:00
mindless
f855c5ee22
[HUDSON-5951] yay for tests, fix error in new normalize() before it went in any release
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30579 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 21:57:24 +00:00
mindless
a6e6c7946a
add SubText.groupCount()
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30578 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 21:09:41 +00:00
mindless
cd8376e9b4
In editableDescription for test results, invalid variable reference for
...
permission attribute made the add/edit description link show up for all
users, even if they don't have permission to submit the description.
Fixed this so link is omitted when appropriate.
Also changed permission required to add/edit a description from "Build"
to "Update Run".
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30575 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 20:16:54 +00:00
mindless
5974981064
[FIXED HUDSON-6351] update DirectoryBrowserSupport to use long for contentLength,
...
and update stapler to 1.141 which supports long for contentLength.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30571 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 18:50:16 +00:00
kohsuke
dadecc8180
Added a hidden system property to let people change the 'workspace' directory name, for those who are desparate to make the path fit to 256 chars (this is important for old ASCII-based Win32 apps, such as Cygwin 1.5 --- Unicode based later ones aren't affected.)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30523 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:00:36 +00:00
abayer
2eedba8679
[FIXED HUDSON-6394] Email recipient lists now support build parameters
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30485 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 18:38:39 +00:00
mindless
ae837cecf4
[FIXED HUDSON-5951] improve normalization of ".." in FilePath
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30462 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 07:35:22 +00:00
mindless
c0db657f22
[HUDSON-5844] set build duration to zero if it comes out negative
...
(clock was set during a short build?).
Also added i18n for getDurationString() result when build is in progress.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30455 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 18:58:12 +00:00
mindless
55aef4bb5c
[FIXED HUDSON-5617] catch and report missing/invalid proxy port value
...
when submitting proxy settings.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30454 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 18:35:42 +00:00
mindless
95c1ba927a
[FIXED HUDSON-5180] remove url binding for this property.. it just shows parameters
...
form and a Build button that results in error. index.jelly should only be accessed
via /build (shows index.jelly via _doBuild in this class) where the Build button works.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30453 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 17:07:52 +00:00
mindless
71854d1b69
[FIXED HUDSON-6371] Fix getArtifactsUpTo so it doesn't count collapsed-directories
...
as artifacts, resulting in too few artifacts returned (since 1.348).
Also fix limit check so it returns "n" items, not n+1. Added test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30451 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 16:13:37 +00:00
mindless
5ad11a0dbc
[FIXED HUDSON-6332] for 1.357
...
Add setOverwrite(true) for local->local copy in FilePath.copyRecursiveTo().
This makes it consistent with master/slave copy (either direction),
and also avoids returning 0 if all files already have current/newer timestamp
which some code (javadoc publishing, copyartifact plugin) would interpret as
copy failure or no matching files found.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30450 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 23:53:41 +00:00
kohsuke
5c339d5040
@nameRef is a mechanism to designate a different parent, so it needs to be in the different branch of if/then/else from e=e.parentNode.
...
I realize that this is a risky change, so I need to pay attention to the regerssions caused by this.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30449 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 23:43:23 +00:00