Commit Graph
5346 Commits
Author SHA1 Message Date
Janick Reynders 88a2860339 FIXED JENKINS-4756 the executor number was not always unique. Computer.executors.size() does not provide a unique number within one Computer. 2011-02-03 23:21:01 +01:00
Jerome Lacoste a8a931d8ec JENKINS-8676 Windows XP slave stopped working in 1.396 (related to name change)
The ManagedWindowsServiceLauncher refers to hudson.exe and hudson-slave.exe while we renamed the artifact to jenkins.exe.

Tentative fix, completely untested (no windows box around).
Not sure about the service name (jenkinsslave). I added a second check for backward compatibility but I have no idea if it's useful.
2011-02-03 23:08:12 +01:00
Jerome Lacoste 9a13990be9 JENKINS-8660: loading the build history cause an NPE on the History Widget
loadAllBuildHistory() fails to set the headers field on the replacement buildHistory DOM element.

The patch fixes the problem by recreating a headers field.
It also:
* slightly refactor the loadAllBuildHistory() method for readability
* add a FIXME note that the server side history widget should fail if the n parameter is missing.
* add a pre-condition check to the buildHistory() update to catch potential bugs (note that the logging is disabled as Yahoo.log doesn't appear available)
2011-02-03 23:03:07 +01:00
Andrew Bayer 6424a80c98 Merge branch 'lacostej-pull' of https://github.com/lacostej/jenkins into lacostej-lacostej-pull 2011-02-03 13:51:39 -08:00
Jerome Lacoste 2332b114a3 JENKINS-8676 Windows XP slave stopped working in 1.396 (related to name change)
The ManagedWindowsServiceLauncher refers to hudson.exe and hudson-slave.exe while we renamed the artifact to jenkins.exe.

Tentative fix, completely untested (no windows box around).
Not sure about the service name (jenkinsslave). I added a second check for backward compatibility but I have no idea if it's useful.
2011-02-03 22:20:25 +01:00
alanharder 3ba54b53ae hudson.war/jenkins.war changes.. made getBackupVersion use getHudsonWar()+".bak"
to match 2 other methods in this file (instead of hardcoded hudson.war.bak)
2011-02-03 09:47:50 -08:00
alanharder b3c661d59b some hudson.war/jenkins.war changes 2011-02-03 09:41:00 -08:00
Jerome Lacoste 3ddb68f038 JENKINS-8660: loading the build history cause an NPE on the History Widget
loadAllBuildHistory() fails to set the headers field on the replacement buildHistory DOM element.

The patch fixes the problem by recreating a headers field.
It also:
* slightly refactor the loadAllBuildHistory() method for readability
* add a FIXME note that the server side history widget should fail if the n parameter is missing.
* add a pre-condition check to the buildHistory() update to catch potential bugs (note that the logging is disabled as Yahoo.log doesn't appear available)
2011-02-03 13:06:57 +01:00
Jerome Lacoste 42c0bdb703 JENKINS-8658 cleanup. Inner class can be static 2011-02-03 05:38:50 +01:00
Jerome Lacoste 4f857bccb7 JENKINS-8658 let getHomeDir gather information about where it finds its location. Useful for troubleshooting. 2011-02-03 04:47:07 +01:00
Brad Trimby 0b424d6902 Change 'Hudson Continuous Integration server' to Hudson.getDisplayName() in test email 2011-02-02 21:33:38 -05:00
Kohsuke Kawaguchi 31a76bc4cb Merge branch 'after-first-release'
... so as to follow the convention of keeping the master branch open for
commits.

* after-first-release:
  noting the changes
  Other languages on JVM may not be able to provide the type information.
  Added autocomplete feature to BuildTrigger
2011-01-31 19:11:04 -08:00
petehayes 31b9a2f48d Fixed HUDSON-6689. Updated the primary view name (default view) if someone changed the name of the view that was marked as primary. 2011-01-31 20:59:01 -05:00
Kohsuke Kawaguchi a178194fb5 Merged pull request #19
* commit '0ffa03278e597edcde5576971a7e51b8938d6edd':
  Added autocomplete feature to BuildTrigger
2011-01-31 13:10:17 -08:00
Kohsuke Kawaguchi 237dbe3e2b Other languages on JVM may not be able to provide the type information. 2011-01-31 12:59:07 -08:00
Kohsuke Kawaguchi d14ca2cec7 regression in renaming 2011-01-31 10:06:11 -08:00
Kohsuke Kawaguchi 4ab9ad2634 bug fix 2011-01-31 10:06:11 -08:00
Kohsuke Kawaguchi 31cd5b3ad9 Renamed the Windows installer 2011-01-31 00:06:49 -08:00
Kohsuke Kawaguchi f08fd38a76 hudson-cli.jar to jenkins-cli.jar rename 2011-01-30 23:51:35 -08:00
Kohsuke Kawaguchi 3a1447ea9a Updating the URL. 2011-01-30 23:44:52 -08:00
Kohsuke Kawaguchi ebd0b303ed Typo as pointed out by Dean. 2011-01-30 21:54:36 -08:00
Kohsuke Kawaguchi 8ea876faa4 Honor $JENKINS_HOME.
Honor $JENKINS_HOME (just like we used to do $HUDSON_HOME)
We still fall back to $HUDSON_HOME every step of the way
for maximum backward compatibility.

I wasn't initially planning to do this for the first version,
but working on native packages made me think we should deliver this.
2011-01-30 16:25:58 -08:00
Stefan Wolf 0ffa03278e Added autocomplete feature to BuildTrigger 2011-01-30 23:19:11 +01:00
Kohsuke Kawaguchi 68ed742227 [FIXED HUDSON-5055] allow the same JNLP slave to reconnect without getting rejected. 2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi 52c21f2df7 If a master fails to ping a slave, it should be hard-disconnected. 2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi 3356f4da29 improved error handling 2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi ad510a42b9 should take SIDs from projects into account 2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi 8411557322 [FIXED HUDSON-8401] calendar handling fix with Mon-Sun week (as opposed to Sun-Sat week)
Having a calendar with the first day of week being Monday (such as in the en_GB locale), setting DoW to Sunday moves the calendar forward whereas in cron it expects the calendar to go backward in time.

 Adjusting this logic.
2011-01-21 10:29:49 -08:00
Kohsuke Kawaguchi 41674eac35 allow an update center to depend on plugins from other update centers 2011-01-20 22:31:04 -08:00
alanharder fcd0559105 Add @since for toWindowsCommand() 2011-01-18 13:52:36 -08:00
Seiji Sogabe 46f2f02f9d [FIXED HUDSON-8438] Node names can be edited to include slashes and then cannot be removed. 2011-01-15 21:18:19 +09:00
Kohsuke Kawaguchi 5f29d615a8 [HUDSON-5073] point the user to the slave log if the build failed because the slave went offline during the build. 2011-01-14 15:51:34 -08:00
Kohsuke Kawaguchi d7a4e08a9d added a new note that creates expandable details. 2011-01-14 15:49:00 -08:00
Kohsuke Kawaguchi 030671bf39 added a convenience method 2011-01-14 15:48:23 -08:00
Kohsuke Kawaguchi 38bc686baa this code should work even when called from outside the context of request handling. 2011-01-14 15:37:55 -08:00
Kohsuke Kawaguchi c6ffab117d [HUDSON-5073] if the build fails because the node went offline, point the user to the slave log where the details are. 2011-01-14 14:22:28 -08:00
Kohsuke Kawaguchi 0ddb0c5cca [HUDSON-5073] Hudson was failing to record the connection termination problem in slave logs.
This change might reveal additional information about why the connection is disrupted.
2011-01-14 14:13:27 -08:00
Kohsuke Kawaguchi 2d05008d7e reducing the visibility of the markup 2011-01-14 12:50:28 -08:00
Kohsuke Kawaguchi 2f7fbafdd7 i18n.
Regrettably the CLI client and the CLI server are in the same package, and this doesn't work very well with i18n scheme as we end up having two classes of the same name (and one hides the other in the server.)

So I'm renaming the Messages class on the client, but not the classes itself for compatibility
2011-01-14 11:32:13 -08:00
Kohsuke Kawaguchi 1259aa9cf4 Improved the error diagnostics based on feedback.
See
http://groups.google.com/group/hudson-users/browse_frm/thread/4272c82edb5460b8
"Install-plugin CLI action doesn't work when an URL is specified as
SOURCE"
2011-01-14 11:14:08 -08:00
Kohsuke Kawaguchi ba092e9a29 typo 2011-01-14 08:15:59 -08:00
Kohsuke Kawaguchi 6784369b13 Added a mechanism to obtain heap dump 2011-01-13 21:32:05 -08:00
Kohsuke Kawaguchi 7c101d1edb Reduced the memory footprint used by fingerprints. 2011-01-13 21:07:48 -08:00
Kohsuke Kawaguchi ed20962551 Improved the startup performance.
An investigation on NECTAR-50 revealed that the dead lock prevention made in 02fbfd9ed5 and c5269550d5 are causing slow down by having too many threads go through scouting, which in turn calls into classloader (which is synchronized.) Reduce the overhead by reusing sezpoz index so that classloading overhead is minimal.
2011-01-13 16:02:41 -08:00
Kohsuke Kawaguchi 5e3f165815 typo 2011-01-13 16:01:33 -08:00
Kohsuke Kawaguchi 33ee710df4 improving error diagnostics 2011-01-13 16:01:33 -08:00
Kohsuke Kawaguchi f9a0826621 expose a better type 2011-01-12 19:04:37 -08:00
Kohsuke Kawaguchi 7ae71bf12a added a mechanism to filter out descriptors 2011-01-12 19:04:37 -08:00
Kohsuke Kawaguchi 70fde5f74e added a callback to be notified when a child is removed 2011-01-12 19:04:37 -08:00
Kohsuke Kawaguchi 46a033a9f7 handle full name correctly 2011-01-12 19:04:37 -08:00