Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke fd9ed6e599 Hudson kept relaunching the slave under the "on-demand" retention strategy.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17478 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-24 04:37:00 +00:00
kohsuke 49ecc5d785 modified to gracefully handle the situation where there's no item in the hash
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17477 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-24 04:30:25 +00:00
kohsuke 33848389ea added a consistent hash implementation. Not ready for live action yet
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17476 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-24 04:24:04 +00:00
kaxelson 321597a618 HUDSON-3533: [FIXED HUDSON-3533]
Added code to remove trailing slash (/) from base path when processing svn externals. This avoids a path with a double slash (//).

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17455 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 22:33:59 +00:00
kohsuke 58c239607d parallel loading of data is live in 1.302
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17439 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 19:04:56 +00:00
kohsuke 349b2d8d3f bug fix for the auto upgrade handling for HUDSON-2324.
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@17437 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 18:31:35 +00:00
kohsuke 5da7122693 bug fix for the auto upgrade handling for HUDSON-2324.
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@17436 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 18:16:10 +00:00
kohsuke 98812769a5 extracted the scheduling strategy into a separate class, which we intend to make pluggable
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17435 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 18:06:15 +00:00
pgweiss e6acec2273 Update isSymlink to be closer to the current version in apache.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17429 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 16:16:29 +00:00
kohsuke dffcc20f5d doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17408 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 00:36:55 +00:00
kohsuke c123658a94 added a function to list up nodes, instead of just getting one
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17407 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-23 00:12:43 +00:00
kohsuke 979e197074 added a consistent hash implementation. I intend to integrate this into the scheduling algorithm
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17406 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 23:33:13 +00:00
pgweiss 1e851d11e4 Make consoleText urls have content-type text/plain so they don't get scrambled.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17404 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 23:10:55 +00:00
kohsuke 8cc55159ca creating a new RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@17398 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 21:11:47 +00:00
jglick 02c8ae7c10 Strategy of trying multiple URLs was broken - gave up after the first.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17396 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 21:11:42 +00:00
kohsuke 889c963aca [HUDSON-2324] Added an automatic migration of the data
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17395 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 21:09:46 +00:00
jglick ab7d9732ce Possibly clearer presentation of options, and showing how to run a headless slave.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17394 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 20:53:14 +00:00
jglick d985712982 More helpful diagnostic.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17393 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 20:51:22 +00:00
kohsuke 542ce78c7f bumped up to 1.103
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17392 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 20:36:01 +00:00
kohsuke 4ff09f7796 compilation problem. sorry.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17391 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 20:35:26 +00:00
kohsuke 8b627acc0a [HUDSON-2324] Added an automatic migration of the data
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17390 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 20:21:12 +00:00
kohsuke a3fe1f3d03 added a workaround for SCM-406
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17388 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 18:45:03 +00:00
kaxelson a96a36f3c0 HUDSON-3532: [FIXED HUDSON-3532]
Changed getAbsolutePath to getCanonicalPath so it would handle symlinks.  Also added necessary exception handling since getCanonicalPath throws IOException.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17384 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 18:29:24 +00:00
jglick a37cd7d502 Using new Saveable.NOOP.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17370 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 15:07:03 +00:00
jglick 5b20c7f127 Removing redundant modifiers.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17369 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 15:06:05 +00:00
sogabe f82add6419 added japanese help file and fix typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17368 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 14:37:57 +00:00
abayer d3775fe7ab [FIXED HUDSON-3541] - ending appended to truncated descriptions no longer appended to all descriptions regardless of length.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17366 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 14:09:36 +00:00
kohsuke 50aade69b8 Stapler gets confused which one to invoke for .../script
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17364 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 02:08:21 +00:00
kohsuke 4aad075e61 added help
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17363 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 02:07:14 +00:00
kohsuke 603b35ae9e [FIXED HUDSON-2596] Preventive node monitoring of slave health metrics can be now configured individually. This will be in Hudson 1.301.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17361 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 01:47:03 +00:00
kohsuke 7b47ce3054 forgot to put the copyright header
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17360 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 01:32:40 +00:00
kohsuke 62d6d71f7e adding no-op instance that's convenient sometimes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17358 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 01:19:38 +00:00
jglick afb5109266 [FIXED HUDSON-3465] Permit configurable column lists in views, and add optional Last Stable column.
Currently no columns have configurable data, but this can be added if desired (see issue report for demo).
API changes: type change in ListView.columns and getColumns; ListViewColumn.shownByDefault added.
[merged https://hudson.dev.java.net/svn/hudson/branches/configurable-view-columns-3465]


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17352 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-22 00:29:43 +00:00
kohsuke 4c6e0b5ce8 Added an extension point to programmatically contribute a Subversion authentication credential.
(<a href="http://www.nabble.com/Subversion-credentials-extension-point-td23159323.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17348 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 23:07:03 +00:00
kohsuke 53819bfd5c the permission should be reset, or this breaks the test harness, and probably also harmful for other embedded usage.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17339 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 22:11:07 +00:00
kohsuke 9463e0a232 with the introduction of Item.READ, I believe this test data now needs to grant that permission to anonymous.
This change also implies that existing user will see regressions with this new change. Without the explicit access given to Item.READ, the users who were able to see everything before will suddenly not see any projects at all, until the permission is explicitly granted on Item.READ.

OTOH, if I inherit Item.READ from Hudson.READ, the per-project permission won't work, becaues Hudson.READ is necessary to see the top page.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17337 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 21:33:31 +00:00
kohsuke 1ccdb5dc17 no need to propagate "isUnix" value.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17335 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 18:13:31 +00:00
sogabe 1757faec1f Updated Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17330 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 16:00:16 +00:00
sogabe 47c85641f6 Added Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17329 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 15:04:40 +00:00
sogabe 5069a2753f override getDefaultParameterValue so that Boolean Parameter sets default value when polling SCMs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17328 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 13:16:01 +00:00
redsolo c7ae52f882 [FIXED HUDSON-3530] Put the argument for HUDSON_ARGS within quotation marks
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17326 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 08:10:15 +00:00
jglick 3dd283c4d1 [FIXED HUDSON-3502] Maven builds were not correctly using build wrappers.
Module set builds were running wrappers but ignoring any environment variables they tried to set.
Individual module builds (e.g. "Run in parallel" checked, or just click Build Now on a module) were ignoring wrappers altogether.
Either way, $DISPLAY was not being set when the XVNC plugin was used.
Note: there is a certain amount of code duplication in the various doRun implementations which could perhaps be factored out somewhere.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17323 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 00:44:04 +00:00
kohsuke cc68d4a182 [HUDSON-2154] Adding more error diagnostic report in an attempt to find out a root cause. This change should let us see what's in the stream.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17320 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-21 00:13:54 +00:00
jglick 1a6d0d6e56 Updating SezPoz to 1.4.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17313 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 22:43:18 +00:00
jglick a49c363038 Better capitalization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17307 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 22:07:24 +00:00
kohsuke 784f098302 control the version of antrun from one place, since Maven has a bug that prevents one reactor from using different versions of the same plugin
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17306 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 22:05:05 +00:00
kohsuke ff5abc87bc When a SCM plugin is uninstalled, projects using it should fall back to "No SCM".
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17300 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 18:14:12 +00:00
kohsuke b9d8b1aff2 added a defensive check in case plugins fail to compute the changelog. This causes a Jelly error in the following line because the "set" variable is null.
<j:set var="set" value="${it.changeSet}" />
        <t:summary icon="notepad.gif">
          <j:choose>
            <j:when test="${it.hasChangeSetComputed()}">
-->           <st:include it="${set}" page="digest.jelly" />


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17299 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 18:09:45 +00:00
kohsuke 1fd8b967d8 Merged revisions 17056,17060-17062,17064-17065,17083,17093,17097-17098,17104-17105,17107,17113,17115-17116,17121-17122,17124-17125,17155,17160,17174-17178,17184,17189-17190,17192,17249,17251,17254 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

................
  r17056 | kohsuke | 2009-04-11 11:31:50 -0700 (Sat, 11 Apr 2009) | 29 lines
  
  Merged revisions 17033,17035-17037,17039,17041 via svnmerge from 
  https://www.dev.java.net/svn/hudson/branches/rc
  
  ........
    r17033 | kohsuke | 2009-04-10 15:22:13 -0700 (Fri, 10 Apr 2009) | 1 line
    
    [maven-release-plugin] prepare release hudson-1_298
  ........
    r17035 | kohsuke | 2009-04-10 15:22:42 -0700 (Fri, 10 Apr 2009) | 1 line
    
    [maven-release-plugin] prepare for next development iteration
  ........
    r17036 | kohsuke | 2009-04-10 17:52:13 -0700 (Fri, 10 Apr 2009) | 1 line
    
    remove JDK6 dependency
  ........
    r17037 | kohsuke | 2009-04-10 18:21:37 -0700 (Fri, 10 Apr 2009) | 1 line
    
    [maven-release-plugin] prepare release hudson-1_299
  ........
    r17039 | kohsuke | 2009-04-10 18:27:36 -0700 (Fri, 10 Apr 2009) | 1 line
    
    [maven-release-plugin] prepare for next development iteration
  ........
    r17041 | kohsuke | 2009-04-10 19:14:19 -0700 (Fri, 10 Apr 2009) | 1 line
    
    updated changelog as a part of the release
  ........
................
  r17060 | kohsuke | 2009-04-11 12:04:54 -0700 (Sat, 11 Apr 2009) | 1 line
  
  doc improvement
................
  r17061 | kohsuke | 2009-04-11 12:05:29 -0700 (Sat, 11 Apr 2009) | 1 line
  
  added a new utility method to build a classpath
................
  r17062 | kohsuke | 2009-04-11 12:07:05 -0700 (Sat, 11 Apr 2009) | 1 line
  
  doc improvement
................
  r17064 | kohsuke | 2009-04-11 14:17:15 -0700 (Sat, 11 Apr 2009) | 1 line
  
  supported the zip file as well
................
  r17065 | kohsuke | 2009-04-11 14:18:57 -0700 (Sat, 11 Apr 2009) | 1 line
  
  added a convenience factory method to fork a connected JVM
................
  r17083 | kohsuke | 2009-04-11 15:59:51 -0700 (Sat, 11 Apr 2009) | 1 line
  
  added a method to compute the host name.
................
  r17093 | kohsuke | 2009-04-11 22:27:40 -0700 (Sat, 11 Apr 2009) | 1 line
  
  bug fix
................
  r17097 | kohsuke | 2009-04-11 23:52:49 -0700 (Sat, 11 Apr 2009) | 1 line
  
  Added more hack to make Which.jarFile work on JDK6u10.
................
  r17098 | kohsuke | 2009-04-11 23:55:55 -0700 (Sat, 11 Apr 2009) | 1 line
  
  ping is default now, so this message is rather pointless
................
  r17104 | mindless | 2009-04-12 09:22:07 -0700 (Sun, 12 Apr 2009) | 5 lines
  
  [FIXED HUDSON-3444] Fix javadoc browsing.
  Stapler does not seem to call "<Type> doDynamic()" (though it does call
  "<Type> doSomethingElse()"), so reverted to "void doDynamic(req,rsp)".
  Could change this back after fix in Stapler..
................
  r17105 | kohsuke | 2009-04-12 13:59:53 -0700 (Sun, 12 Apr 2009) | 1 line
  
  simplified a bit
................
  r17107 | kohsuke | 2009-04-12 14:27:03 -0700 (Sun, 12 Apr 2009) | 1 line
  
  fixed the type parameterization bug. This should be both binary and source compatible.
................
  r17113 | sogabe | 2009-04-13 07:13:28 -0700 (Mon, 13 Apr 2009) | 1 line
  
  added @ExportedBean so that Remote API /computer/api/ works.
................
  r17115 | kohsuke | 2009-04-13 09:15:03 -0700 (Mon, 13 Apr 2009) | 1 line
  
  added asynchronous execution support
................
  r17116 | kohsuke | 2009-04-13 09:20:08 -0700 (Mon, 13 Apr 2009) | 1 line
  
  fixed parameterization
................
  r17121 | kohsuke | 2009-04-13 11:47:12 -0700 (Mon, 13 Apr 2009) | 1 line
  
  improved error diagnostics
................
  r17122 | kohsuke | 2009-04-13 12:04:49 -0700 (Mon, 13 Apr 2009) | 1 line
  
  added one more initialization hook.
................
  r17124 | kohsuke | 2009-04-13 14:03:01 -0700 (Mon, 13 Apr 2009) | 1 line
  
  revised the abstraction. I feel better now.
................
  r17125 | kohsuke | 2009-04-13 14:03:57 -0700 (Mon, 13 Apr 2009) | 3 lines
  
  I want the Plugin.postInitialize() to see all the other plugins, namely PluginManager.uberClassLoader.
  
  So this code needs to be in a separate method.
................
  r17155 | kohsuke | 2009-04-14 14:12:15 -0700 (Tue, 14 Apr 2009) | 1 line
  
  Fixed a Jelly bug in CVS after-the-fact tagging
................
  r17160 | kohsuke | 2009-04-14 14:38:29 -0700 (Tue, 14 Apr 2009) | 1 line
  
  added a 48x48 terminal.gif
................
  r17174 | sogabe | 2009-04-14 19:19:01 -0700 (Tue, 14 Apr 2009) | 1 line
  
  added Japanese localization
................
  r17175 | sogabe | 2009-04-14 19:20:04 -0700 (Tue, 14 Apr 2009) | 1 line
  
  fixed encoding...
................
  r17176 | huybrechts | 2009-04-15 03:05:52 -0700 (Wed, 15 Apr 2009) | 1 line
  
  parameters should be serializable
................
  r17177 | sogabe | 2009-04-15 03:58:56 -0700 (Wed, 15 Apr 2009) | 1 line
  
  updated Japanese localzation... orz
................
  r17178 | jglick | 2009-04-15 06:55:33 -0700 (Wed, 15 Apr 2009) | 2 lines
  
  Picking up fix of STAPLER-5, which affected DirectoryBrowserSupport.
  Cf.: http://www.netbeans.org/nonav/issues/show_bug.cgi?id=162543
................
  r17184 | kohsuke | 2009-04-15 12:30:30 -0700 (Wed, 15 Apr 2009) | 1 line
  
  bumped up to 1.2.2-hudson-4 to improve diagnostics for http://www.nabble.com/Builds-don%27t-work%21%21-td23058973.html
................
  r17189 | jglick | 2009-04-15 13:33:31 -0700 (Wed, 15 Apr 2009) | 1 line
  
  Warnings.
................
  r17190 | kohsuke | 2009-04-15 14:04:25 -0700 (Wed, 15 Apr 2009) | 1 line
  
  further toning down this error message
................
  r17192 | kohsuke | 2009-04-15 14:06:07 -0700 (Wed, 15 Apr 2009) | 1 line
  
  creating a new RC branch
................
  r17249 | kohsuke | 2009-04-17 16:14:36 -0700 (Fri, 17 Apr 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_300
................
  r17251 | kohsuke | 2009-04-17 16:15:01 -0700 (Fri, 17 Apr 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
................
  r17254 | kohsuke | 2009-04-17 17:48:04 -0700 (Fri, 17 Apr 2009) | 1 line
  
  updated changelog as a part of the release
................


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17298 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 18:06:05 +00:00
kohsuke 7afb488987 [FIXED HUDSON-2324] applied a patch.
I tweaked the patch slightly so that all the background activity gets SYSTEM credential automatically. I think this is less error prone for plugin developers.
This change will be in 1.301.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17297 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 17:19:21 +00:00