Commit Graph
4549 Commits
Author SHA1 Message Date
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
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