Commit Graph
7098 Commits
Author SHA1 Message Date
dty 3f5dec66c2 Fix version number in a @since.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34158 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 22:58:02 +00:00
dty d0c3ebec93 Allow transient actions to be passed through the trigger to the job to be
executed.

This will be used by the post-commit hook in the Subversion plugin to specify
the revision to check out at.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34157 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 22:38:54 +00:00
kohsuke 9d74a9005f avoid NPE
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34154 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 19:02:39 +00:00
bagrehc 13c9be8285 Translate to brazilian portuguese.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34148 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 12:31:23 +00:00
kohsuke ba15881681 added a hook to do some computation before exposing build variables
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34124 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 02:19:12 +00:00
kohsuke 7320ce252f Merged revisions 34000-34001,34005,34007,34038 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r34000 | kohsuke | 2010-08-20 14:16:13 -0700 (Fri, 20 Aug 2010) | 2 lines
  
  [FIXED HUDSON-7216]
  Fixed a 1.372 regression in handling whitespace and other characters in label names.
........
  r34001 | kohsuke | 2010-08-20 14:26:55 -0700 (Fri, 20 Aug 2010) | 1 line
  
  foo*bar parses just like foo-bar parses OK.
........
  r34005 | kohsuke | 2010-08-20 20:08:26 -0700 (Fri, 20 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_373
........
  r34007 | kohsuke | 2010-08-20 20:08:40 -0700 (Fri, 20 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r34038 | kohsuke | 2010-08-23 11:02:55 -0700 (Mon, 23 Aug 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34118 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 01:50:31 +00:00
bagrehc b74888093a Translate to brazilian portuguese.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34093 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 14:34:13 +00:00
sogabe dedac56f0c [FIXED HUDSON-7266] Added "This build is disabled" button on Matrix and M2 project.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34086 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 07:38:00 +00:00
kohsuke a7b3979989 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34082 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 00:30:07 +00:00
kohsuke 5c6b2b000f doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34081 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 00:28:37 +00:00
kohsuke ef7d99c9a0 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34080 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 00:16:19 +00:00
kohsuke 67547f4170 have some initial default value to avoid NPE in onModified().
This is a stop-gap fix to a bigger problem of XStream not persisting the owner of a persisted list.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34079 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-24 23:04:39 +00:00
kohsuke 8fcf13585f rebuild operations on DescribableList should fire onModified.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34078 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-24 22:06:01 +00:00
kohsuke 9ec00e3afc first build and last build were swapped.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34057 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 21:26:40 +00:00
kohsuke ba95f0cd57 do the equivalent of intern-ing to reduce string overhead.
Since adjacent Fingerprints tend to be similar, unifying string instances between them should cheaply improve the memory footprint.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34050 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:51 +00:00
kohsuke ab8f7a4fc5 use more memory-efficient in-memory data structure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34049 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:34 +00:00
kohsuke 65644d3b62 added support for marshalling Google collection ImmutableMap
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34048 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:29 +00:00
kohsuke e89d5df7cc using the latest version of the bridge method injector that I think has fixed some bugs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34047 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:24 +00:00
kohsuke 34454d0588 added a means to simulate the OOME situation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34046 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:14 +00:00
kohsuke db05699410 expose unpinning to the web UI.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34045 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:09 +00:00
kohsuke 21ad12ffc0 defined a system property to remove MAVEN_OPTS from Maven builds forked inside.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34044 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:03 +00:00
kohsuke 457315f40f Using two type parameters was causing too much problem, as illustrated in the following. Falling back to one type argument version, which is much easier to handle:
------------------
import java.util.ArrayList;

class Job<J extends Job<J,R>, R extends Run<J,R>> {}
class Run<J extends Job<J,R>, R extends Run<J,R>> {}

class Job2 extends Job<Job2,Run2> {}
class Run2 extends Run<Job2,Run2> {}

class RunList<J extends Job<J,R>, R extends Run<J,R>> extends ArrayList<R> {}

class Foo {
    // how do I make this work?
    public void test1(RunList<Job,Run> why) {}

    // this works
    public void test2(RunList<Job2,Run2> why) {}
}

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34043 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:04:56 +00:00
kohsuke be28fe6d81 Timeline view is available in more places.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34042 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:04:51 +00:00
kohsuke 3c99238382 use RunList in Job.getBuilds() as well, since it's making a copy.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34041 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:04:43 +00:00
kohsuke c9ab4c0473 calling updateTransientActions() from the constructor means we end up calling the overrided methods in subtypes before subtype constructor kicks in. Probably not a good idea.
Instead, opted for a post-constructor hook.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34040 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 18:33:23 +00:00
kohsuke a7c9760e82 fixed a test regression
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34030 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 17:16:08 +00:00
StevenGBrown 74d55f57d7 Added @since Javadoc tags to the ConsoleNote.removeNotes methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34011 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 15:28:27 +00:00
StevenGBrown ac64bcb8d9 [FIXED HUDSON-7112] Plugins can now transform the console output.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34008 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 07:37:26 +00:00
km b228c24db5 [FIXED-HUDSON-7162]
Hudson ignores Maven pom.xml path when it is specified as absolute path.
Provided utility methods for checking whether a path is absolute and
absolutizing a given path (w.r.t. a base).
Provided a unit test case for this scenario (@Bug 7261).



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34004 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 02:13:15 +00:00
kohsuke e31629b189 make this work with StaplerRequest.bindJSON
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34003 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 02:03:31 +00:00
kohsuke dfdcecccb1 Auto-completion can be now easily added to text boxes by plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34002 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-20 23:04:33 +00:00
kohsuke 1c78940275 solicit initial contributions, especially from TransientProjectActionFactory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33991 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-20 00:43:54 +00:00
kohsuke bf9356f079 this doesn't takes 'instances' but 'instance'.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33989 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 23:47:23 +00:00
mindless 8614d5e954 [HUDSON-7204] fix for defining empty properties for ant build on windows.
also added info about parameter references and double quotes in help file.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33988 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 23:32:20 +00:00
mindless 5e836515da add resource for page title (its title was "title")
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33951 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-18 20:40:17 +00:00
sogabe cae02742e6 Added Japanese localization for Matrix project.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33942 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-18 12:02:49 +00:00
kohsuke b17951d4cf [FIXED HUDSON-7026] applied the patch to fix the regular expression.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33897 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 01:48:43 +00:00
kohsuke 1d49f9a447 [FIXED HUDSON-7213] not sure how the release process had completed if the unit test was failing...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33896 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 01:39:25 +00:00
sogabe 6e83aaf704 Fixed compilation fauilure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33876 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-16 11:18:51 +00:00
mindless 189a1f31f1 [FIXED HUDSON-7211] fix Hudson build on case-insensitive filesystems.
hudson/model/label/*.class conflicted with hudson/model/Label/*.jelly,
so renamed new package to hudson.model.labels


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33875 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-16 04:35:30 +00:00
olamy 79b2e6d55a be more friendly regarding case for windauze users
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33871 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 21:05:04 +00:00
kohsuke e1cf51440e Merged revisions 33821,33823,33825,33829 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r33821 | kohsuke | 2010-08-13 20:05:10 -0700 (Fri, 13 Aug 2010) | 1 line
  
  label serialization should include all the subtypes.
........
  r33823 | kohsuke | 2010-08-13 21:03:34 -0700 (Fri, 13 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_372
........
  r33825 | kohsuke | 2010-08-13 21:03:45 -0700 (Fri, 13 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r33829 | kohsuke | 2010-08-13 22:04:49 -0700 (Fri, 13 Aug 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33863 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 16:30:18 +00:00
kohsuke 64db15c45c [FIXED HUDSON-4158]
JUnit report archiving now captures stdout of tests run in Surefire.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33862 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 16:28:53 +00:00
kohsuke 45d413c412 better signature
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33861 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 15:43:11 +00:00
kohsuke dc0ceb5cb4 documenting how to migrate.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33859 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 22:32:18 +00:00
kohsuke 6dbef5cbb4 handle AbortException gracefully without spewing a stack trace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33855 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:38 +00:00
kohsuke 804e200fc3 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33854 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:25 +00:00
kohsuke bcf3a538b6 CommandInterpreter is made more reusable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33853 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:17 +00:00
kohsuke 0704329d44 one property type, one instance, just like node properties and job properties.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33852 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:08 +00:00
kohsuke 46e185d3fb bug fix in the UI hookup
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33851 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:53:55 +00:00