Commit Graph
32590 Commits
Author SHA1 Message Date
kohsuke 2f6d427c3d Build page now shows where the build was done.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22180 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-25 18:32:54 +00:00
kohsuke 29b64d41e3 documentation improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22179 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-25 18:31:22 +00:00
mindless 2b3a0785a7 Added column on plugin updates page showing currently installed version.
Also removed extra table tag (tabBar.jelly adds the table).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22173 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-25 18:22:01 +00:00
kohsuke 9d435fc99a Added a CLI command <tt>install-tool</tt> to invoke a tool auto-installation from Hudson CLI.
(<a href="http://www.nabble.com/Passing-env-variables-automatically-td25584186.html">report</a>)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22144 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-25 02:19:41 +00:00
kohsuke 8bf61c51e8 fixed a test failure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22132 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 22:27:50 +00:00
kohsuke 58e89859f2 fixed a test failure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22127 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 21:29:15 +00:00
kohsuke 06a1570547 Merged revisions 22100 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r22100 | kohsuke | 2009-09-24 12:30:44 -0700 (Thu, 24 Sep 2009) | 1 line
  
  this breaks a plugin installation.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22116 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 20:55:27 +00:00
kohsuke 7ac155c8ca Tests the plugin installation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22101 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 19:49:10 +00:00
kohsuke 2e68f75312 [HUDSON-4531] extension point without a descriptor is now reported with more information for a better troubleshooting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22098 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 18:59:07 +00:00
kohsuke 9b981befbe Merged revisions 22092 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r22092 | kohsuke | 2009-09-24 10:13:43 -0700 (Thu, 24 Sep 2009) | 1 line
  
  Because Util.fixNull() is overloaded, Groovy won't be able to find the right version. Also added a regression test.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22093 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 18:02:30 +00:00
kohsuke 27041170d3 Merged revisions 22084-22085 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r22084 | kohsuke | 2009-09-23 17:35:53 -0700 (Wed, 23 Sep 2009) | 1 line
  
  getLastBuild() can return null.
........
  r22085 | kohsuke | 2009-09-23 18:01:05 -0700 (Wed, 23 Sep 2009) | 1 line
  
  fixing a test failure.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22086 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 01:56:44 +00:00
kohsuke 2685d07269 Initialized merge tracking via "svnmerge" with revisions "1-22081" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22083 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 00:08:50 +00:00
kohsuke 3e967dd85d added a mechanism to check the existence of a command.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22059 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 19:07:05 +00:00
kohsuke 2eff3c52b6 most likely mistakenly removed from rev.22034.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22053 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 17:52:23 +00:00
kohsuke 8526b2e6c4 [HUDSON-3889] In 1.325, I added a ping support so that the master detects dead connections more rapidly. This feature is off by default, until we feel comfortable enough that this feature works correctly.
You can enable this by setting the system property "-Dhudson.slaves.ConnectionActivityMonitor.enabled=true" on your container.
Once enabled, inactive slaves are pinged after 3 minutes, and after 6 failed pings 10 secs apart, the connection is deemed failed
and the slave gets cut off. So in total it takes 4 minutes to detect a failure.

I appreciate the feedback on this.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22039 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 02:22:13 +00:00
kohsuke 0b97c13031 support removal of values.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22038 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 02:11:44 +00:00
kohsuke 3adada0046 [HUDSON-3889] JNLP clients now report the reason when the connection is rejected by the master.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22037 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:50:31 +00:00
kohsuke a9b49214aa this hook is the first step for a better detection of failed connections to slaves from the master.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22036 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:36:15 +00:00
mindless c039b28791 Update uses of deprecated APIs (most notably, changing
AbstractProject.doWs from void to returning DirectoryBrowserSupport)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22034 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:20:05 +00:00
mindless 123ecf9afe Update uses of deprecated APIs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22033 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:15:50 +00:00
mindless 49a797b5fe remove unused imports, fix javadoc typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22032 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:06:29 +00:00
kohsuke db98a31d14 [FIXED HUDSON-3942] Fixed in 1.325. We probably need some kind of mechanical checks to make sure all the fields are variable expanded. Otherwise this is too error prone.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22031 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 23:52:52 +00:00
kohsuke a08d584254 [FIXED HUDSON-3983] The root cause of the problem is that the "test e-mail" feature wasn't using the SMTP auth values as currently entered in the form, but it was picking up values from what Hudson is currently configured with. This is fixed in 1.325.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22029 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 23:45:32 +00:00
kohsuke 809828e6c2 Fixed a bug in the checkbox handling of the <f:validateButton>. Added a regression test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22028 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 23:39:04 +00:00
kohsuke f38589134e Integrates the test case into a URL tree. Behavior explained in http://wiki.hudson-ci.org/display/HUDSON/Unit+Test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22027 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 23:37:50 +00:00
mindless f9a0284025 Add permission check in FilePath.validateFileMask,
and add note in javadoc for check already done in validateRelativePath.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22026 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 23:18:27 +00:00
abayer 5dfb1adb36 [maven-plugin] Cleanup of deprecated calls, updating POM to point to current versions of maven-hpi-plugin and maven-stapler-plugin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22024 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 22:48:30 +00:00
kohsuke 560dea1197 added the eval method for doing arbitrary request handling as a part of test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22023 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 22:40:57 +00:00
kohsuke e3f362c1ee doc fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22022 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 22:27:21 +00:00
kohsuke b95fa37f07 Fixed the license header.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22021 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 22:22:06 +00:00
abayer 81d05be32d Fixing credentials error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22008 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 20:25:38 +00:00
kohsuke 99cd629a66 modernized the layout.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22001 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 17:45:56 +00:00
kohsuke 1d49816d1d [HUDSON-4304] I forgot to commit this file
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22000 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 16:21:03 +00:00
kohsuke b3e1c8a45e [FIXED HUDSON-4226] Applied the patch and added a test case. This fix will be in 1.325.
I also added subversion.hpi in the dependency of the test-harness so that we can use Subversion check out for tests. I was afraid of a circular dependency problem when building the subversion plugin, but apparently Maven handles it gracefully.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21999 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 16:20:12 +00:00
kohsuke fae44fb507 [FIXED HUDSON-4304] Fixed a bug in the init package script by adding --shell /bin/bash. This fix will be in 1.325.
I need to have some tests for this.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21997 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 15:50:47 +00:00
kohsuke be7cdd1e92 This is the correct fix for HUDSON-4353.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21996 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 15:38:33 +00:00
kohsuke 1f46736399 for some reason this test is fragile.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21982 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 00:13:01 +00:00
kohsuke 9668a1e339 Update center will create backup files to make it easier for manual roll back of botched upgrades.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21981 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 00:09:42 +00:00
kohsuke 25ca3de5fc Update center will create backup files to make it easier for manual roll back of botched upgrades.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21980 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-21 23:52:09 +00:00
kohsuke 66f157955a [FIXED HUDSON-4353] we should now be able to update bundled plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21979 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-21 23:46:47 +00:00
kohsuke b8f2b7949d TAB->WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21978 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-21 23:31:32 +00:00
kohsuke 516866e06d adding the notion that a plugin can be pinned to avoid overwritten by a bundled plugin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21977 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-21 23:29:38 +00:00
kohsuke 16a1ae58d1 [FIXED HDUSON-4514]
This is a problem in the core. The repositoryBrowser type shouldn't be persisted. Fixed toward 1.325.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21961 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-21 20:42:16 +00:00
mindless 92f54b4477 avoid repeated maxDescrLength-ending.length() calculations in getTruncatedDescription
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21951 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-21 17:37:46 +00:00
mindless b957f01246 add @Override annotations, tab->ws
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21902 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-19 20:19:07 +00:00
kohsuke 27f22b03b0 ignoring additional files
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21898 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-19 15:43:52 +00:00
kohsuke 2e16d9db20 Merged revisions 21880,21885,21887,21889,21893 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r21880 | kohsuke | 2009-09-18 16:37:04 -0700 (Fri, 18 Sep 2009) | 1 line
  
  need a new version to authenticate with Wiki
........
  r21885 | kohsuke | 2009-09-18 18:35:46 -0700 (Fri, 18 Sep 2009) | 1 line
  
  tests are starting to fail with PermGen problem
........
  r21887 | kohsuke | 2009-09-18 18:52:20 -0700 (Fri, 18 Sep 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_324
........
  r21889 | kohsuke | 2009-09-18 18:52:36 -0700 (Fri, 18 Sep 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r21893 | kohsuke | 2009-09-18 19:26:06 -0700 (Fri, 18 Sep 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21897 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-19 15:42:06 +00:00
kohsuke 58e6059539 removed warning.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21890 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-19 02:02:59 +00:00
kohsuke b910e6af92 [FIXED HUDSON-4506] "Redeploy Maven artifacts" GUI was broken, because of rev.20314. This fix will be in 1.325.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21886 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-19 01:40:05 +00:00
kohsuke 9882aba6a9 fixed NPE when Maven build is aborted.
MavenBuild (a Run for a module) does push(null), and its corresponding onEndBuilding() won't be invoked due to the abort. I guess the real root cause is to make sure the corresponding onEndBuilding() is always invoked, as not doing so can have other unintended side effect.

The stack trace of the problem was:

ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net
java.lang.NullPointerException
	at hudson.model.Run$Runner.access$000(Run.java:1007)
	at hudson.model.Run.reportCheckpoint(Run.java:984)
	at hudson.model.CheckPoint.report(CheckPoint.java:113)
	at hudson.tasks.MailSender.execute(MailSender.java:107)
	at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:54)
	at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:677)
	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:480)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354)
	at hudson.model.Run.run(Run.java:1123)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:302)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:123)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21883 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-19 00:30:25 +00:00