Commit Graph
3398 Commits
Author SHA1 Message Date
kohsuke fcb1e18fc1 forked Maven shouldn't see the Maven debug options.
This is only needed during debuggig Hudson and never in production, but this is the only place where we can put this code.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16510 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 04:22:50 +00:00
kohsuke 24c50368ae Fixed unit tests that I broke
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16505 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 00:31:02 +00:00
kohsuke 2b5b62bc89 bug fix and simplification with new stapler features
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16502 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-24 13:54:55 +00:00
kohsuke e16b747b66 Hudson now monitors the temporary directory to forestall disk out of space problems.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16496 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 22:52:08 +00:00
kohsuke d0b1e4b384 replaced "h.defaulted(x,y)" with "x?:y"
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16489 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 18:26:49 +00:00
kohsuke 72455164a2 Noting that "x?y:z" supercedes h.ifThenElse.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16487 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 18:21:12 +00:00
kohsuke a722c278af updated to use form field databinding
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16485 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 17:14:35 +00:00
kohsuke 7138ab22b2 Added DescriptorByNameOwner to enable context-sensitive descriptor mapping in a generic way.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16484 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 17:13:06 +00:00
kohsuke 67f5d86b45 fixed NPE
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16481 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 16:52:27 +00:00
kohsuke 737fe7e46a using the form field binding
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16480 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 16:27:27 +00:00
jglick 4729c66549 NPE thrown when AbstractProject.scm==null.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16475 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 15:42:11 +00:00
kohsuke 73900a5a3e formatting fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16465 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 03:53:12 +00:00
kohsuke 5094cd9db7 removed warnings
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16463 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 03:36:42 +00:00
kohsuke f27e2b5c8a Using new form validation code
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16462 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 03:26:55 +00:00
kohsuke 6815e73ca7 introduced a new scheme to the form field validation, that makes the check feel more like a function.
Using it in a few places to begin with

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16459 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-22 18:56:36 +00:00
kohsuke 72242fcddf Merged revisions 16380-16381,16433,16435,16438 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r16380 | kohsuke | 2009-03-19 17:10:38 -0700 (Thu, 19 Mar 2009) | 1 line
  
  PeriodicWork change broke the tests, because the timer registration wasn't kicking in
........
  r16381 | kohsuke | 2009-03-19 17:33:14 -0700 (Thu, 19 Mar 2009) | 1 line
  
  fixed a test so that it's no longer timing sensitive
........
  r16433 | kohsuke | 2009-03-20 18:35:55 -0700 (Fri, 20 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_293
........
  r16435 | kohsuke | 2009-03-20 18:36:21 -0700 (Fri, 20 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r16438 | kohsuke | 2009-03-20 19:10:29 -0700 (Fri, 20 Mar 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16441 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 02:14:25 +00:00
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