Commit Graph

7079 Commits

Author SHA1 Message Date
samngms 9af90276b6 hudson.scm.ChangeLogSet.Entry.getAffectedFiles() changed to return Collection<? extends AffectedFile> instead of Collection<AffectedFile>
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18733 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-08 10:18:17 +00:00
abayer 649c24b9d9 [FIXED HUDSON-3814, HUDSON-3845] - modified comparison of extension of artifact to use endsWith, instead of grabbing everything after the last period - this is to support tar.gz, e.g. Also, fixed POM parsing of modules to behave like Maven itself when it encounters, say, <module>foo/foo-bar.xml</module> -first it'll see if ${basedir}/foo/foo-bar.xml exists, and then, if ${basedir}/foo/foo-bar.xml is a directory, it'll try ${basedir}/foo/foo-bar.xml/pom.xml. Behavior is taken from org.apache.maven.DefaultMaven.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18732 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-07 17:46:48 +00:00
mindless fe9b035b2d [FIXED HUDSON-2110] Improved validation and help text regarding when number of
executors setting may be zero.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18731 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-07 17:29:03 +00:00
mindless a7ac4b050a [FIXED HUDSON-3092] Call updateComputerList() at end of doConfigSubmit so a change
in number of executors for master node takes effect immediately.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18730 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-06 22:51:59 +00:00
samngms 3f4f8292e9 Add getAffectedFile() and related interfaces in hudson.scm.ChangeLogSet.Entry
Both CVS and SVN are updated to support this new API

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18697 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-03 12:07:55 +00:00
sogabe 336941bc3d 18N & L10N(ja)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18696 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-03 11:37:23 +00:00
nmullaney 4eaee48a58 hudson-behavior.js:
In function createComboBox, javascript errors will be thrown if the 
id is not present on the page (which seems to happen sometimes when the 
id in question is in an optionalBlock).  This patch checks for the id 
before trying to create the combo box.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18647 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-01 23:05:43 +00:00
jglick 1c578dd5f7 Global config page should list installations of all registered tool types.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18638 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-01 18:32:12 +00:00
jglick 321e5698d7 Only applies to JDKs. Do not offer for other tools.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18637 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-01 18:29:56 +00:00
sogabe 046322e68f Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18634 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-01 12:17:33 +00:00
mindless f00979aea4 [FIXED HUDSON-1879] don't allow renaming a job while a build is running.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18628 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-01 02:48:58 +00:00
kohsuke 8c1e7a0e5a imlemented a generalization of FailureBuilder
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18625 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-01 01:17:27 +00:00
kohsuke abbb9cb71c removed IDE warnings
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18624 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-31 23:37:12 +00:00
kohsuke df26ff63a7 Expose the NODE_NAME environment variables
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18623 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-31 23:35:57 +00:00
jglick e83995055e Looks like this did not go into 1.309? Release process is confusing me...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18618 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-31 17:02:52 +00:00
kohsuke 57aeb1cb26 updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-31 16:35:29 +00:00
kohsuke 3e1bbb01e9 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18610 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-31 16:04:45 +00:00
kohsuke 3347b4e225 [maven-release-plugin] prepare release hudson-1_309
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18608 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-31 16:04:35 +00:00
kohsuke 86d4f2305d Merged revisions 18547,18570-18571 via svnmerge from
https://www.dev.java.net/svn/hudson/trunk/hudson/main

........
  r18547 | jglick | 2009-05-28 13:40:43 -0700 (Thu, 28 May 2009) | 1 line
  
  Avoid NPE in case "Install automatically" is checked yet there are no configured installers.
........
  r18570 | jglick | 2009-05-29 09:28:50 -0700 (Fri, 29 May 2009) | 1 line
  
  Trying to install a JDK remotely on a Unix system threw a serialization exception.
........
  r18571 | jglick | 2009-05-29 10:01:13 -0700 (Fri, 29 May 2009) | 1 line
  
  Noting that ToolInstaller is better recommended.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18606 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-30 22:35:28 +00:00
kohsuke 1dc74246f3 Initialized merge tracking via "svnmerge" with revisions "1-18462" from
https://www.dev.java.net/svn/hudson/trunk/hudson/main


git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18605 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-30 22:28:51 +00:00
kohsuke 7d8b650c4b HtmlUnit added a substantial amount of dependencies (5MB or so), plus its dependency to NekoHTML, which in turn depends on Xerces, makes deployment problematic on JBoss.
Integrated a reimplementation of JDK auto installer which doesn't use HtmlUnit.

git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18603 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-30 22:11:36 +00:00
mindless 9a9d771f23 [FIXED HUDSON-3764] fix incorrect parameter listed on api page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18600 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-30 21:08:48 +00:00
mindless 869f58ab07 [FIXED HUDSON-3795] add message for "Building on master" instead of writing
"Building remotely on " in the log.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18587 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-30 18:22:54 +00:00
kohsuke 8367aed967 bug fix as pointed out by Tom.
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18577 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-29 22:13:16 +00:00
jglick 32dd1b399c Avoiding usage of ToolInstallation.home from ToolInstaller in most cases.
Adding ToolInstaller.preferredLocation and using from existing installers.
Validating ToolInstallation.home if it is configured, but OK if blank.
Hacking JavaScript to display ToolInstallation.home field in UI
only if "Install automatically" unchecked (or field is not blank).
Simplifying parameters of DownloadFromUrlInstaller.isUpToDate.
chmod a+x after DownloadFromUrlInstaller unpacks (needed for Ant/Maven installations on Unix).

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18572 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-29 17:14:30 +00:00
jglick df7d244b3d Noting that ToolInstaller is better recommended.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18571 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-29 17:01:13 +00:00
jglick 277110898f Trying to install a JDK remotely on a Unix system threw a serialization exception.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18570 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-29 16:28:50 +00:00
kohsuke aedc10d37f added more logging as more people seem to be suffering from host name detection issue.
See http://www.nabble.com/Selenium-Grid-Plugin-td23481283.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18568 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-29 01:55:54 +00:00
kohsuke 634f7923b1 Merged revisions 18490-18493,18500,18532-18533,18535,18539 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r18490 | kohsuke | 2009-05-27 15:24:36 -0700 (Wed, 27 May 2009) | 1 line
  
  adding a defensive check, as NodePrivisioner/Cloud makes it easy to end up adding the same Node twice
........
  r18491 | kohsuke | 2009-05-27 15:24:46 -0700 (Wed, 27 May 2009) | 1 line
  
  doc improvement
........
  r18492 | kohsuke | 2009-05-27 15:25:43 -0700 (Wed, 27 May 2009) | 1 line
  
  defensive check
........
  r18493 | kohsuke | 2009-05-27 15:26:15 -0700 (Wed, 27 May 2009) | 2 lines
  
  - improved logging
  - adding the resulting Node to the node list to avoid a Node to disappear
........
  r18500 | kohsuke | 2009-05-27 18:15:49 -0700 (Wed, 27 May 2009) | 1 line
  
  relaxing the form validation error given the tool auto installation support
........
  r18532 | kohsuke | 2009-05-28 11:45:14 -0700 (Thu, 28 May 2009) | 1 line
  
  changed the way permalinks are pushed
........
  r18533 | kohsuke | 2009-05-28 11:56:45 -0700 (Thu, 28 May 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_308
........
  r18535 | kohsuke | 2009-05-28 11:57:07 -0700 (Thu, 28 May 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r18539 | kohsuke | 2009-05-28 12:37:43 -0700 (Thu, 28 May 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18549 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 21:12:56 +00:00
jglick eaf12a04ce Avoid NPE in case "Install automatically" is checked yet there are no configured installers.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18547 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 20:40:43 +00:00
kohsuke 97b85a9dd3 updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18539 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 19:37:43 +00:00
kohsuke 88763028a0 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18535 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 18:57:07 +00:00
kohsuke 3fbfbf3919 [maven-release-plugin] prepare release hudson-1_308
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18533 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 18:56:45 +00:00
kohsuke a0f2981647 changed the way permalinks are pushed
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18532 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 18:45:14 +00:00
kohsuke 36a5707316 1.2 should be out there now
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18517 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 15:30:59 +00:00
kohsuke 5d87c3812c relaxing the form validation error given the tool auto installation support
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18500 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-28 01:15:49 +00:00
kohsuke 1957ac4ff4 - improved logging
- adding the resulting Node to the node list to avoid a Node to disappear

git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18493 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 22:26:15 +00:00
kohsuke 87126f407d defensive check
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18492 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 22:25:43 +00:00
kohsuke a23ec6b844 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18491 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 22:24:46 +00:00
kohsuke ae0273ac2b adding a defensive check, as NodePrivisioner/Cloud makes it easy to end up adding the same Node twice
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18490 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 22:24:36 +00:00
kohsuke ba311338bc rolling back to 1.1 until download.java.net service comes back to normal
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18489 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 21:47:22 +00:00
kohsuke 03fb71f294 Merged revisions 18461,18463,18473-18474,18481 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r18461 | kohsuke | 2009-05-26 18:39:51 -0700 (Tue, 26 May 2009) | 1 line
  
  merged back the RC branch
........
  r18463 | kohsuke | 2009-05-26 18:40:06 -0700 (Tue, 26 May 2009) | 1 line
  
  creating a new RC branch
........
  r18473 | kohsuke | 2009-05-27 09:33:16 -0700 (Wed, 27 May 2009) | 1 line
  
  publish-javadoc happens later, so this comment no longer appears useful
........
  r18474 | kohsuke | 2009-05-27 09:38:45 -0700 (Wed, 27 May 2009) | 1 line
  
  modified to do aggregated javadoc and publish that
........
  r18481 | kohsuke | 2009-05-27 11:20:34 -0700 (Wed, 27 May 2009) | 4 lines
  
  [FIXED HUDSON-3706]
  MaskingClassLoader that's supposed to throw awy components.xml for interceptions are still kicking in when MavenEmbedder run on slaves, as RemoteClassLoader mangles the URL that the MaskingClassLoader was looking for.
  
  So I relaxed the path matching and sniff the content to decide if components.xml is for interception or not.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18487 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 21:10:29 +00:00
kohsuke a6e555449e [FIXED HUDSON-3706]
MaskingClassLoader that's supposed to throw awy components.xml for interceptions are still kicking in when MavenEmbedder run on slaves, as RemoteClassLoader mangles the URL that the MaskingClassLoader was looking for.

So I relaxed the path matching and sniff the content to decide if components.xml is for interception or not.

git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18481 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 18:20:34 +00:00
abayer 2b7736d18c [FIXED HUDSON-3312] Fixed - properly handles addition of "..." ending only when truncation of display text occurs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18476 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 16:51:42 +00:00
kohsuke e35608d4ef modified to do aggregated javadoc and publish that
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18474 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 16:38:45 +00:00
kohsuke 5e708189a0 publish-javadoc happens later, so this comment no longer appears useful
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18473 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 16:33:16 +00:00
kohsuke 569a006e96 creating a new RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18463 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 01:40:06 +00:00
kohsuke a208d9ede4 merged back the RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18461 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 01:39:51 +00:00
kohsuke a751834581 provide a restart link if Hudson can restart itself
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18453 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-26 21:14:40 +00:00
abayer 415c809fa8 [FIXED HUDSON-3767] doRun in RunnerImpl in both MavenBuild and MavenModuleSetBuild now use return from tearDown to set result, like hudson.model.Build does.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18439 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-26 19:37:03 +00:00