Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke f84a7a5e9a doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18835 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:06:27 +00:00
kohsuke a63bdef0a4 Added a CLI command to copy a job.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18834 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:04:26 +00:00
kohsuke 716f50991b [FIXED HUDSON-3799] Fix for performance problem in FilePath.copyRecursiveTo() over the network.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18816 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-11 22:38:00 +00:00
kohsuke 362763ae98 tweaking the log message further
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18764 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 04:58:57 +00:00
kohsuke c418141051 tone down the log output if the file is not rearchived
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18763 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 04:58:07 +00:00
kohsuke 6295aac1f0 Fixed cross-site scripting vulnerabilities, thanks to Steve Milner.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18760 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 00:53:58 +00:00
kohsuke af1f76f483 Added a CLI command to clear the job queue.
(<a href="http://www.nabble.com/cancel-all--td23930886.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18748 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 17:37:35 +00:00
kohsuke 0557c9f27d NPE fix in the remote API if @xpath is used without @exclude.
(<a href="http://www.nabble.com/Adding-Remote-API-support-to-findbugs-and-emma-plugins-td23819499.html">patch</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18747 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 17:21:21 +00:00
dty 8c4e97d171 Merge in changes that implement the cross-site request forgery crumb feature.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18738 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 07:09:02 +00:00
kohsuke fa48bd2252 Didn't work if FileFilter is from a plugin: http://www.nabble.com/FilePath-list%28FileFilter%29-Probelm-with-slaves-td23856576.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18736 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 01:19:04 +00:00
kohsuke 812e1ce632 Merged revisions 18577,18603,18608,18610,18614 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r18577 | kohsuke | 2009-05-29 15:13:16 -0700 (Fri, 29 May 2009) | 1 line
  
  bug fix as pointed out by Tom.
........
  r18603 | kohsuke | 2009-05-30 15:11:36 -0700 (Sat, 30 May 2009) | 3 lines
  
  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.
........
  r18608 | kohsuke | 2009-05-31 09:04:35 -0700 (Sun, 31 May 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_309
........
  r18610 | kohsuke | 2009-05-31 09:04:45 -0700 (Sun, 31 May 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r18614 | kohsuke | 2009-05-31 09:35:29 -0700 (Sun, 31 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@18735 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-08 21:23:56 +00:00
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
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
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 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 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
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 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
kohsuke b105102aa0 Unit test trend graph was not displayed if there's no successful build.
(<a href="http://www.nabble.com/Re%3A-Test-Result-Trend-plot-not-showing-p23707741.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18415 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-26 05:20:04 +00:00
kohsuke 5386c0bfa8 NPE fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18414 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-26 05:06:57 +00:00
kohsuke 2f199d2b44 stapler with more hooks in the l10n support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18411 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-26 02:12:12 +00:00
sogabe 3cf2480cb7 Updated Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18397 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-25 21:17:24 +00:00
kohsuke 651955e1c6 make the rootURL available to JavaScript
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18383 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-25 03:18:15 +00:00
kohsuke 0539131ec4 refactored a AES-128 key generation function
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18382 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-25 02:49:17 +00:00
kohsuke d4fb0fd587 Moving the localization assistance to a plugin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18381 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-25 01:48:14 +00:00
kohsuke 934ed3ecb4 experimenting with the in-application localization editor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18379 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-24 21:36:30 +00:00
kohsuke 50bbc6fba2 this version relaxes the signature constraint on the getDynamic method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18378 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-24 21:34:30 +00:00