Commit Graph
10778 Commits
Author SHA1 Message Date
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 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 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
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 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
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
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 ea020b4a78 D&D support in containe requires D&D to be loaded before container script
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18377 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-24 20:26:48 +00:00
mindless df1139d291 [FIXED HUDSON-3750] add toString() on upstream build# to avoid NumberFormat
being applied, which adds thousand separator.  this matches change made in
r15988 for HTML version of cause description.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18372 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-24 03:29:59 +00:00
kohsuke 5bb1e72657 if the computer is being launched, don't report it as an error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18346 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 22:20:25 +00:00
kohsuke 668f60507f init script (<tt>$HUDSON_HOME/init.groovy</tt>) is now run with uber-classloader.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18344 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 22:12:07 +00:00
kohsuke e0e39bc567 improved error diagnostics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18340 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 20:29:22 +00:00
kohsuke c3c1352028 removed warnings
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18330 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:26:42 +00:00
kohsuke d5df84ced8 i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18329 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:22:45 +00:00
kohsuke f74d84fda4 labels may not contain any Node at given point and still valid
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18328 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:19:37 +00:00
kohsuke f7ffc67fb7 correcting when to display labels and what to show there, by considering the presence of a cloud
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18327 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 17:14:49 +00:00
kohsuke 50f84ab183 moved the code to Label
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18324 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:42:25 +00:00
kohsuke 02bd194fa2 simplified by adding a convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18323 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:40:23 +00:00
kohsuke 67d2c0aa73 master's labels need to be added to the label list early on
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18322 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 16:34:07 +00:00
kohsuke ca7e3facf5 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18309 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-23 06:13:23 +00:00
sogabe 7ff37c05ec Updated Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18286 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-22 21:47:33 +00:00
kohsuke 643f13e86e fixed broken javadoc links
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18269 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-22 01:43:12 +00:00
kohsuke d0990573f0 Revisiting the fix in rev.18252.
The exception cited in KENAIPLUGIN-2 is caused by the fact that the KenaiProperty doesn't contain any visible configuration element. This change will allow such properties.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18267 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 23:45:58 +00:00
kohsuke 390fdf4a1f implemented automatic Maven installation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18266 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 23:11:23 +00:00
kohsuke c1c79ab63d i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18264 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 20:46:50 +00:00
kohsuke fb44aa123d doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18263 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 20:46:26 +00:00
kohsuke 49ace47432 Added automatic tool installation for Ant.
- Most of the installer logic is made reusable in DownloadFromUrlInstaller.
- ToolDescriptor can now contribute global.jelly to the system configuration page.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18260 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 18:22:02 +00:00
kohsuke 46b540e5eb added more convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18259 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 18:10:58 +00:00
stephenconnolly 12eda4f6d4 oops, forgot the slashes themselves ;-)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18258 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 17:42:14 +00:00
stephenconnolly be30ca6f36 The path is now part of the URL path element and not a URL parameter, so we need to encode it differently. There may be a more correct encoder, but this should work for 99% of cases until I can write one to handle svn paths to sventon URL mapped paths (which requires creating a svn repo with crazy path names and then testing with sventon)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18257 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 17:32:32 +00:00
kohsuke 10cc0441ae disable the usage stat collection during the development
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18253 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 17:05:12 +00:00
jglick 78169fa039 Attempting better diagnosis of KENAIPLUGIN-2:
net.sf.json.JSONException: null object
	at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2418)
	at net.sf.json.JSONObject.has(JSONObject.java:1777)
	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:309)
	at hudson.model.Descriptor.newInstance(Descriptor.java:335)
	at hudson.model.JobPropertyDescriptor.newInstance(JobPropertyDescriptor.java:65)
	at hudson.model.Job.doConfigSubmit(Job.java:915)
	....


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18252 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 16:19:28 +00:00
kohsuke 79b2071c60 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18250 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-21 15:50:29 +00:00
dwdyer 8a8fbbaad6 Spelling and proper escaping for apostrophes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18226 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-20 10:52:54 +00:00
dodok1 7b0d9086f7 [FIXED HUDSON-2488] affectedPaths are computed correctly to MavenModule relativePaths
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18223 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-20 08:05:17 +00:00
kohsuke 5951d7a9b8 making this more defensive
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18221 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-20 02:04:47 +00:00
kohsuke 12a8387139 Some failures in Windows batch files didn't cause Hudson to fail the build.
(<a href="http://www.nabble.com/Propagating-failure-in-Windows-Batch-actions-td23603409.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18208 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-19 00:38:48 +00:00