Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke 5ab7f1a6d0 supporting filtering for SCMs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16430 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:57:31 +00:00
kohsuke 903782ce65 javac doesn't like this
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16429 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:55:38 +00:00
kohsuke bf1ac14637 added another convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16425 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:39:27 +00:00
kohsuke 6851883e8f noting why I'm doing a null check.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16422 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:19:53 +00:00
kohsuke 37826583e9 some Describables written for tests may return null.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16421 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:18:55 +00:00
kohsuke 922d3ca090 added filtering support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16420 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:10:43 +00:00
kohsuke 3eba2c66df cross-referencing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16419 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:07:22 +00:00
kohsuke 2d1846b70b extended filtering to Triggers
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16418 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:05:33 +00:00
kohsuke ffb9bdf64e generalized it so that we can have other Descriptors call this.
Since implementing this method involves in some kind of downcasting anyway, there's not much point in defining subtype-specific isApplicable methods

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16417 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 23:56:54 +00:00
kohsuke bc7af314eb BuildSteps should all use BuildStepDescriptor.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16414 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 23:37:35 +00:00
kohsuke 1d671beef4 Capture the test output from surefire, which puts stdout/stderr in a place different from Ant JUnit task.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16411 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 23:00:22 +00:00
kohsuke d28069b61a Added an ability for Projects to veto BuildSteps.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16409 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 20:07:04 +00:00
jglick 89c18838a1 [FIXED HUDSON-3330] NPE when slave down.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16391 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 16:53:22 +00:00
kohsuke 8962a43c01 monitor the HUDSON_HOME consumption by itself
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16365 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 21:47:34 +00:00
kohsuke 42d46cab43 avoid negative value
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16360 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 00:26:45 +00:00
kohsuke 2d486947a9 PeriodicWork is made an extension point, and existing manual registration code is modified to use this registration mechanism.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16354 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-17 23:19:05 +00:00
mindless f5e60d5cda [FIXED HUDSON-3300] avoid NPE if reach createAccount with no form data
(such as via login?from=/securityRealm/createAccount)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16351 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-17 16:54:11 +00:00
sogabe 4a664c1ad0 fixed compile error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16338 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-17 10:53:54 +00:00
kohsuke 3e647cae4f improved the error diagnosis. See http://www.nabble.com/No-javadoc-found-td22457649.html#a22457649
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16309 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-17 01:54:22 +00:00
swiest 2a2473d111 [FIXED HUDSON-3294] ZIP archives created by Hudson are now rendered properly in Windows' built-in "compressed folder" views.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16278 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-16 18:59:21 +00:00
kohsuke cf3bbc5d10 added more convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16238 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-14 16:03:15 +00:00
kohsuke 3e5222bec0 Improved the access denied error message to be more human readable.
(<a href="http://www.nabble.com/Trouble-in-logging-in-with-Subversion-td22473876.html">report</a>)

In 1.292

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16231 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-14 00:00:42 +00:00
kohsuke 348997b9c5 sort the users by name when displaying them
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16230 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 23:48:34 +00:00
kohsuke a335037940 simplified
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16229 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 22:25:06 +00:00
kohsuke 6dd7f6dfcd forgot to change this
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16228 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 22:23:51 +00:00
kohsuke cea32f0df9 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16227 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 22:08:29 +00:00
kohsuke a9c2567127 We might be handling environment variables for a slave that can have different path separator than the master, so this is an attempt to get it right. It's still more error prone that I'd like, but this should mostly work for our usage pattern.
The real problem is that AbstractBuild.getEnvVars() is designed to return overrides, not the whole thing. This was OK until recently, when we started using environment variables to eagerly perform variable expansions inside Builder/Publisher, which requires them to see the entire variables.
 


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16226 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 21:55:02 +00:00
kohsuke afb1240421 no need to double-wrap
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16224 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 21:14:41 +00:00
mindless 7a5775ca8d [FIXED HUDSON-3264] ToolLocation.getKey() was calling getClass().getName()
a second time, so always used java.lang.String instead of descriptor class name.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16222 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 19:25:29 +00:00
kohsuke 48db0a34e9 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16221 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 19:18:38 +00:00
jglick 0cb0d03972 [FIXED HUDSON-2988] Confused display of test results when using static Test suite().
1. Uniquify relative URLs of test objects (plain, plain_2, plain_3, ...) so they can be browsed separately.
2. Indicate the originating suite name if distinct from the test class name.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16202 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 19:53:19 +00:00
kohsuke e927cae016 Parse the Subversion tunnel configuration properly.
(<a href="http://www.nabble.com/Problem-using-external-ssh-client-td22413572.html">report</a>)    


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16200 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 17:40:55 +00:00
kohsuke 09634dbc58 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16198 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 16:32:37 +00:00
kohsuke 4d7fe7f770 added a new version of the onOnline method that takes TaskListener.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16195 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 07:13:59 +00:00
kohsuke 8372db68e7 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16194 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 07:09:07 +00:00
kohsuke 3d78395736 if a slave is being connected, don't attempt the reconnect, which would interrupt the current pending activity
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16193 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 07:08:29 +00:00
kohsuke 8872b8cf83 GZipInputStream accesses InputStream without its own bufferring for reading headers at least.
I don't know if it's just the header or the whole thing, but in the remoting situation, better err on double buffering than not having buffering at all.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16185 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-12 05:09:07 +00:00
kohsuke 51cddcbd3c too verbose
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16181 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 21:02:43 +00:00
kohsuke 360f095032 [FIXED HUDSON-3153]
Added tar support

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16172 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 07:02:11 +00:00
kohsuke f1dfa6ff6d doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16171 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 06:27:47 +00:00
kohsuke c034b29c71 fixed a problem reported in http://www.nabble.com/Authorization-exception-on-configure-job-td22417412.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16159 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 02:01:16 +00:00
jglick 5b28310d28 [FIXED HUDSON-3267] api/xml?xpath=...&wrapper=... behaved inconsistently for results of size 0 or 1.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16157 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 01:19:07 +00:00
kohsuke b70e53fe5b Production code shouldn't be using this, but for tests, this is very convenience, so let's not mark this as deprecated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16155 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 00:59:26 +00:00
kohsuke d280f213c4 Recover gracefully from failing to load winp.
(<a href="http://www.nabble.com/Unable-to-load-winp.dll-td22423157.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16153 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-10 19:32:23 +00:00
kohsuke 81ba935452 [FIXED HUDSON-3069]
Fixed the initialization order issue.

I tweaked the patch a little to avoid using a flag. It seems to me that HudsonFilter can just check if it already has a corresponding Hudson instance, and if so, it can configure itself.
This fix will be in 1.291.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16150 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-10 18:17:15 +00:00
kohsuke 0225c0a849 made TaskListener available
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16141 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-10 05:41:47 +00:00
jglick 8fe8a5c0df Correcting some warnings.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16133 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-09 19:43:33 +00:00
martinficker a9d0558e4e Add/Updated Copyright Header for commit 16003
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16132 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-09 19:18:04 +00:00
kohsuke 0f2b42aed0 doc update
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16129 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-09 18:44:29 +00:00
kohsuke d70c800ab2 fixed a persistence issue of CloudList
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16128 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-09 18:42:38 +00:00