Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke d011c81feb Improved console annotations for Ant.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34213 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:37:02 +00:00
kohsuke 8527286c06 added ability to inject CSS from ConsoleNotes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34212 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:35:47 +00:00
kohsuke 6d492940d9 Cache LDAP attributes to go easy on memory footprint. Where I saw this problem, each LDAP BasicAttributes is about 30K big, and a programmatic client logged in 7000 times, resulting in 140MB of memory consumption just by LDAP attributes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34211 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:34:28 +00:00
kutzi 20703c6738 remove 'beta' warning in German translation of Maven2 job type
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34202 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-29 10:33:11 +00:00
kutzi 7f74f05c9d fixed typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34201 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-29 10:22:13 +00:00
kutzi 64b251d64d changed phrase for German translation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34200 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-29 10:13:50 +00:00
sogabe 8666a5aec3 Removed unused import.(PMD warnings)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34182 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 23:50:00 +00:00
mindless 99aaa67bec [FIXED HUDSON-6628] There is some code duplication in main() methods between
CLICommand and the anonymous CLICommand subclass in CLIRegisterer.. the latter
was missing the loadStoredAuthentication call which enables CLI login command.
CLI login now works for CLI commands defined via @CLIMethod annotation.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34178 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 20:34:29 +00:00
sogabe becb2768bd Removed unused import.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34177 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 18:30:35 +00:00
rseguy e1c25beacc [FIXED HUDSON-1871]
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34172 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 13:36:27 +00:00
sogabe 8188068643 i18n and added Japanese localization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34171 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 12:43:05 +00:00
kohsuke 33f6eb502f interrupt is used as a suicide signal for executors, so go back to the top if that was why we were interrupted. Unlikely race condition, but still...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34159 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 23:39:17 +00:00
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
jieryn 76c65a333c HUDSON-7300 #comment Andrew Bayer found a regression where our maven-hudson-dev-plugin was referencing the old ${basedir}/resources -- remove the configuration option to reference the default src/main/webapp dir
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34151 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 17:38:59 +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 e3428519ed Initialized merge tracking via "svnmerge" with revisions "1-34121" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34123 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 02:01:07 +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
jieryn 1baf25e939 HUDSON-7304 #close fixed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34096 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 18:51:27 +00:00
jieryn b22133b567 HUDSON-7300 #resolve
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34095 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 17:53:48 +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
kutzi be4be6b3ca added test that duration of the module builds is not longer than the duration of the moduleset build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34058 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 21:32:32 +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
kutzi 0e004fa054 need to call start() on MavenBuildProxy2 before end() - otherwise build duration is set to 40 years!
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34055 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 20:44:39 +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
kohsuke fde309a200 [FIXED HUDSON-6893] integrated toward 1.373.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34029 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 16:51:20 +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