Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke dc6db9328b allow arbitrary exception. The whole point of this class is to deal gracefully with a problem, so we might just as well let the subtypes knowingly throw them.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26100 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-19 18:50:04 +00:00
manuel_carrasco ba373c6cec more Spanish translations
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26080 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-19 12:34:16 +00:00
mindless 00bc8ce5c5 [FIXED HUDSON-2543] don't update lastStable/lastSuccessful symlinks until final
build result is known (after post-build actions).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26069 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-18 17:10:36 +00:00
ashlux 505e422e85 [FIXED HUDSON-5247] The hudson.model.Run.ArtifactList.treeCutoff property should not limit the number of artifacts shown by the API.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26036 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-17 17:35:48 +00:00
kohsuke cb88b13b66 [FIXED HUDSON-5164]
Infer the default e-mail address more smartly with user IDs like "DOMAIN\user" (often seen in Windows)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25964 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 15:57:48 +00:00
kohsuke b39cc4d55e [FIXED HUDSON-5155] in 1.342. The root cause of the problem is that the backing byte[] of ByteBuffer can be bigger than the actual current content that's on it --- in the case of the reporter he got byte[3] as the backing buffer when only two bytes of it is in use.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25962 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 15:23:55 +00:00
kohsuke e816e08552 missing @DataBoundConstructor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25961 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 15:13:00 +00:00
mindless b4ee14c5b8 [HUDSON-5236] remove Dependency.getBuildActions API, as its computation may
overlap with shouldTriggerBuild.  Instead, add List<Action> parameter in
shouldTriggerBuild which impl can add Actions to before returning boolean.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25878 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 20:22:17 +00:00
kohsuke 6882917f7b <f:textbox> can take arbitrary attributes now to be added to the resulting <input> element.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25876 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 19:25:36 +00:00
jglick fbda18e384 [FIXED HUDSON-5296] Remote launcher failed to print any of the commands it was running to the listener the way the local launcher does.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25870 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 18:41:51 +00:00
kohsuke e464b05625 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25864 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 15:37:52 +00:00
kohsuke f94a33dd15 introduced the descriptor subtype for ListViewColumn.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25863 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 15:36:06 +00:00
kohsuke 9209d4df5e use a proper Saveable to make the list view column change live
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25862 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 15:24:44 +00:00
kohsuke e241e08b3e Simplified the code to be a better example of what a plugin should do. Creating a singleton descriptor instance is not recommended.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25861 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 15:18:52 +00:00
kohsuke 7e4d343b4c [FIXED HUDSON-5061] in 1.342. Avoids NPE even without having a help from a plugin. Also added a note about this contract violation of the newInstance method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25857 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 15:02:13 +00:00
kohsuke b200f6fd07 added logging for failure to create columns
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25856 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 14:53:21 +00:00
kohsuke d480416ac9 modified to allow subtypes to take over classloader creation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25837 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 01:09:15 +00:00
mindless b74b648480 [FIXED HUDSON-5265] set system privileges while building DependencyGraph so no jobs
are missed if the current user can't see them all (per-project read permissions).
Added unit tests for this and HUDSON-5236.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25821 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-14 16:13:17 +00:00
mindless 60195dc057 [FIXED HUDSON-5236] one fix for r25751.. DependencyGraph as Comparator returns
zero for jobs not dependending on eachother.. in a TreeMap this means keys
overwrite eachother and not all builds are triggered.
Switch to sorting in a List.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25820 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-14 16:00:16 +00:00
kohsuke 29cdfb670d [FIXED HUDSON-5271] in 1.342. Automatic tool installation wasn't honoring proxy setting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25811 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-14 15:36:13 +00:00
kohsuke b6fbebe9ea [FIXED HUDSON-5272] improved error diagnostics in 1.342.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25810 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-14 15:23:49 +00:00
kohsuke 0a0b81d3b3 cut and paste mistake
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25772 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 20:07:58 +00:00
kohsuke 91f80263e5 Extension points can now contribute multiple actions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25771 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 20:07:01 +00:00
mindless 230333df15 fix javadoc typos
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25764 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 18:13:20 +00:00
sogabe 30dab2a8e1 i18n & l10n(ja) for notification mail
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25757 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 13:26:12 +00:00
mindless 06c31af142 [HUDSON-5236] Introduce DependencyGraph.Dependency so DependecyDeclarers can control
whether builds are triggered and provide Actions for the triggered build.
(previously only tasks.BuildTrigger had hardcoded support for logic on whether or
 not to trigger.. now it uses this mechanism)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25751 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 07:13:35 +00:00
kohsuke b39fa6fd85 serve remote API calls with the gzip compression.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25746 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 01:40:34 +00:00
kohsuke 8a4cab3088 [FIXED HUDSON-5162] in 1.341.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25730 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-12 21:11:13 +00:00
kohsuke c3519f283f ProcessTree is now remoteable
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25705 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-12 01:18:22 +00:00
kohsuke 071f5f20f1 Hudson now detects a cyclic dependencies among plugins and report the error gracefully.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25682 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-11 16:51:52 +00:00
kohsuke c0d915b33d added code to check cycles in a directed graph
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25681 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-11 16:48:23 +00:00
kohsuke fe19fe77b3 allow arbitrary objects to be joined. This signature change is binary compatible.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25648 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-10 17:26:05 +00:00
kohsuke 8ff55b89e3 adding information that assists debugging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25642 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-10 16:54:41 +00:00
kohsuke 73e1a8dbda While debugging the subversion plugin, I discovered that hpl file can be ignored by the bundled hpi file. Fixed that problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25640 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-10 16:38:12 +00:00
kohsuke 43791a1a35 Integrated a newer timeline component.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25557 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-09 15:22:11 +00:00
mindless df0170ec87 [FIXED HUDSON-3283] Link to project changes summary instead of this build's changes
for "still unstable" email.  Also changed StringBuffers to StringBuilders.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25553 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-09 00:45:47 +00:00
mindless ed2c75eb76 oops, need \\ in java regexp (fix r25539)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25551 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-08 22:26:17 +00:00
kohsuke ce979c4a9d Merged revisions 25543 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r25543 | kohsuke | 2010-01-08 13:52:04 -0800 (Fri, 08 Jan 2010) | 1 line
  
  added a hidden switch to control the 'workspace' name.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25544 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-08 21:54:43 +00:00
mindless 2f263e4ab9 catch NumberFormatException in isForNewerHudson, and better support for dev builds
(trim "(private....)" portion so VersionNumber accurately handles SNAPSHOT build)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25539 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-08 20:09:21 +00:00
kohsuke da3e72bbbd Merged revisions 25534 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r25534 | kohsuke | 2010-01-08 11:48:04 -0800 (Fri, 08 Jan 2010) | 1 line
  
  fixed a JDK6 dependency
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25535 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-08 19:49:48 +00:00
sogabe 1ca1631836 Fixed compilation failure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25520 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-08 11:37:04 +00:00
mindless a3008af7c7 [FIXED HUDSON-3662] Fix ability to upgrade bundled plugins when security is enabled.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25505 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-08 03:21:29 +00:00
kohsuke 657c69cadf reverting rev.25456 and rev.25485 based on http://n4.nabble.com/New-method-in-AbstractBuild-td1008630.html#a1008630
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25487 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-07 22:06:53 +00:00
jglick 2b4b607f80 Minor cleanups from shinodkm's commit (downStreamBuildValues).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25485 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-07 21:41:30 +00:00
kohsuke 85c61ede96 Use the newly introduced convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25475 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-07 17:08:22 +00:00
kohsuke 89c66d5d00 added more convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25474 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-07 17:07:29 +00:00
kohsuke a61dc67178 Added a convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25473 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-07 15:27:37 +00:00
shinodkm 9d6beadb23 Added a Map which stores the down stream build values.
This is required if the fingerprint action is not enabled in the projects.
The downstream project will be added to Map when BuildTrigger schedule the build.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25456 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-07 06:16:22 +00:00
sogabe 0d3735a470 [FIXED HUDSON-1811] Fixed garbled mail text when default encoding is not UTF-8.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25381 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-05 14:10:06 +00:00
mindless 04f9e38662 envVars was unused in LocalLauncher.. add these to env.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25360 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-04 19:05:14 +00:00