Commit Graph
3871 Commits
Author SHA1 Message Date
huybrechts fbecaec0c1 make sure TestResultAction.data is always non-null
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20840 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 19:17:42 +00:00
abayer 13432495bb [FIXED HUDSON-4257] Junit failure error messages and stacktraces should render properly in all cases now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20835 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 17:24:34 +00:00
jglick 2d8713a57c [HUDSON-4244] Making FilePath.delete throw IOException upon failure rather than return false.
Making Util.deleteFile public since it is useful.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20816 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 23:17:53 +00:00
kohsuke a4bb163805 Fixed a possible NPE in <tt>Hudson.removeNode</tt>
(<a href="http://www.nabble.com/problems-adding-deleting-nodes-p24999793.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20812 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 23:14:48 +00:00
kohsuke e9aec7b472 Added BUILD_URL and JOB_URL. See http://www.nabble.com/url-for-job-td25015395.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20811 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 22:55:21 +00:00
kohsuke 3908e4f8d5 List<AbstractProject> is too restrictive.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20806 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 21:31:17 +00:00
kohsuke 372d784066 bulk add.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20805 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 21:28:00 +00:00
kohsuke af5c3a46fe doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20800 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 21:11:13 +00:00
kohsuke 27a720f992 Merged revisions 20720-20721,20736,20739-20741,20743,20747 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20720 | kohsuke | 2009-08-14 13:43:55 -0700 (Fri, 14 Aug 2009) | 1 line
  
  linkout:out appear to be replaced by CaseResult.annotate
........
  r20721 | kohsuke | 2009-08-14 13:50:39 -0700 (Fri, 14 Aug 2009) | 1 line
  
  fixed tests
........
  r20736 | kohsuke | 2009-08-14 15:11:00 -0700 (Fri, 14 Aug 2009) | 1 line
  
  this is simpler.
........
  r20739 | kohsuke | 2009-08-14 17:07:25 -0700 (Fri, 14 Aug 2009) | 1 line
  
  adding the SCIS ad
........
  r20740 | kohsuke | 2009-08-14 19:21:50 -0700 (Fri, 14 Aug 2009) | 1 line
  
  ignore generated files
........
  r20741 | kohsuke | 2009-08-14 19:36:41 -0700 (Fri, 14 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_320
........
  r20743 | kohsuke | 2009-08-14 19:36:58 -0700 (Fri, 14 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r20747 | kohsuke | 2009-08-14 22:48:09 -0700 (Fri, 14 Aug 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20799 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 20:32:32 +00:00
kohsuke f7ce9c551b Failed to look up an e-mail address for LDAP users shouldn't cause a build to fail.
(<a href="http://www.nabble.com/Build-fails-with-FATAL%3A-Bad-credentials-td25005592.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20792 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 18:36:47 +00:00
kohsuke 21f4b323ab remove \0s from e-mail. See http://www.nabble.com/Problems-with-NULL-characters-in-generated-output-td25005177.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20790 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 18:26:45 +00:00
mindless d6faeaf209 [FIXED HUDSON-4201] Revert logger settings when a log recorder is deleted.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20767 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-16 16:12:01 +00:00
mindless 2fe6c8c947 [FIXED HUDSON-4212] Use view/{name} in Edit View and New Job links even on page for
the default view, so when the default is not "All" these links work on the right view.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20764 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-16 00:10:15 +00:00
kohsuke 5f8c81e72c added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20756 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-15 14:50:59 +00:00
huybrechts 31cbef2f8f added a little docs on touchstone combinations
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20751 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-15 08:25:43 +00:00
kohsuke a6661f152b Plugin installation / Hudson upgrade are made more robust in the face of possible connection abortion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20749 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-15 06:04:23 +00:00
mindless 6c2c917d91 [FIXED HUDSON-3459] Matrix permissions with LDAP now properly validates group names
using configured prefix and case settings; added help text about these settings.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20744 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-15 02:38:23 +00:00
huybrechts 38b75f8bd2 [FIXED HUDSON-1613] implements touchstone build for matrix projects, which runs a selected number of configurations first and then all the rests if these succeed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20737 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-14 22:12:37 +00:00
kohsuke 4f9510a0d4 pushed getCause() up to Run.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20718 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-14 18:00:02 +00:00
kohsuke 23ce8b7016 added getCauses() for convenience.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20717 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-14 17:56:02 +00:00
kohsuke ef42210947 Merged revisions 20714 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20714 | kohsuke | 2009-08-14 09:02:58 -0700 (Fri, 14 Aug 2009) | 16 lines
  
  [HUDSON-3687] This change is binary incompatible. Specifically, plugins that implements the old signature will no longer behaves as if it doesn't override the method, hence the new setUp method will be always received by its default implementation, causing stack trace like this:
  
  FATAL: class hudson.plugins.build_timeout.BuildTimeoutWrapper needs to implement the setUp method
  java.lang.UnsupportedOperationException: class hudson.plugins.build_timeout.BuildTimeoutWrapper needs to implement the setUp method
  	at hudson.tasks.BuildWrapper.setUp(BuildWrapper.java:142)
  	at hudson.tasks.BuildWrapper.setUp(BuildWrapper.java:130)
  	at hudson.model.Build$RunnerImpl.doRun(Build.java:107)
  	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354)
  	at hudson.model.Run.run(Run.java:1090)
  	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
  	at hudson.model.ResourceController.execute(ResourceController.java:93)
  	at hudson.model.Executor.run(Executor.java:122)
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20715 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-14 16:14:28 +00:00
huybrechts c504112afb fix compile error by adding FormException to throws clause
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20712 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-14 14:55:54 +00:00
sogabe 7f8828e2a2 I18N & Japanese localization for MyViews
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20692 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 22:12:48 +00:00
kohsuke bfa1342e97 expanding the use of HttpResponse to exceptions as well.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20684 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 21:57:30 +00:00
kohsuke 9dcf5cd190 [FIXED HUDSON-1816] In 1.321. Applied a patch from Yury Bubnov.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20679 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 18:06:38 +00:00
kohsuke 8d602f8464 [FIXED HUDSON-4124] Global and per-node environment vars are made available to SCM checkout. In 1.321.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20676 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 17:45:38 +00:00
kohsuke a85d97913d Merged revisions 20672-20673 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20672 | kohsuke | 2009-08-13 10:21:23 -0700 (Thu, 13 Aug 2009) | 1 line
  
  I noticed that a swarm slave disconnection while a build is in progress seems to cause an NPE
........
  r20673 | kohsuke | 2009-08-13 10:28:57 -0700 (Thu, 13 Aug 2009) | 1 line
  
  Typo.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20675 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 17:34:30 +00:00
kohsuke 1ccf2a38e5 boolean parameter mapping is not that lenient.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 08:03:57 +00:00
kohsuke d0a6643b10 more testability improvements.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20666 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 07:45:06 +00:00
abayer 9da4ce71a2 [FIXED HUDSON-4177] getResult() is null by default again - no actual live code depended on it being set, as it turned out. Also added integration test for this use case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20654 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 03:42:43 +00:00
kohsuke 65c5b0d6d4 [FIXED HUDSON-4192] in 1.320. The core wasn't setting the workspace for MavenBuild, leaving it empty.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20635 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 22:12:20 +00:00
kohsuke eca53a7626 create-job command was not active.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20633 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 21:36:17 +00:00
kohsuke b8dcc0c083 [FIXED HUDSON-4206] in 1.320. Custom workspace and new workspace lease scheme had a bad interaction.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20632 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 21:03:17 +00:00
kohsuke 76ecab7733 [FIXED HUDSON-4202] in 1.320. Test case confirmed my hypothesis.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20630 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 19:09:51 +00:00
kohsuke fd50a4aea2 These 1.XXXs are 1.319.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20629 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 18:19:35 +00:00
kohsuke 8165d0f36f [HUDSON-4206] added more logging to understand what's going on.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20628 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 18:09:41 +00:00
huybrechts b5322ba3f7 UserProperty can be reconfigured instead of recreated on User.save
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20627 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-12 17:58:43 +00:00
kohsuke 0aa1cabef0 adding documentation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-11 01:11:27 +00:00
kohsuke 6391c2a535 adding documentation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20613 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-11 01:09:04 +00:00
kohsuke b4c9598ae3 adding documentation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20612 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-11 00:57:54 +00:00
kohsuke 048fc0c4c0 introduced the Graph class to improve the OO-ness of the model classes. This should also improve testability a bit.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20611 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-11 00:44:30 +00:00
kohsuke 71da662aa7 i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20604 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-10 21:58:22 +00:00
kohsuke 1a5c805584 more concise and IMHO discoverable way to expose /me.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20603 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-10 21:43:28 +00:00
huybrechts 0a5762b6d1 JUnitResultArchiver did not work over remoting
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20600 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-10 19:36:29 +00:00
huybrechts a1e93bf5c9 Merging in the junit branch. Lots of new features and bugfixes, including:
- support for TestAction that can contribute various things to any TestObject (packages, classes and methods), using the TestDataPublisher extension point. 
Features include UI on the TestObject page, badges on the overview page, tasks in the side panel and annotating test output.
- a junit-attachments plugin that uses this to record test attachments (files)
- an extension to the claim plugin that offers claims on failing tests
- editable test descriptions (on any TestObject)
- a history page for all TestObjects (including test count and duration graph)
- error details for failed tests are shown in a collapsed panel in test overview pages (package+class)
- [FIXED HUDSON-3149] if file is .xml but does not parse, record a fake failing test
- [FIXED HUDSON-1820] extra column displaying skipped tests
- [HUDSON-2046] new test packages, classes and methods are shown in bold
- [FIXED HUDSON-2228] test duration charts on all levels
- [FIXED HUDSON-3451] expand environment variables in test results path




git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20580 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-09 20:35:50 +00:00
mindless d7442cd4f6 [HUDSON-3687] return hudson.model.Environment from setUp so subclasses are not
required to extend the Environment inner class.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20569 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-09 17:14:09 +00:00
kohsuke d652291815 [FIXED HUDSON-2431] added OfflineCause class to keep track of why a node is put offline.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20558 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-08 15:29:16 +00:00
kohsuke bd71761341 [HUDSON-4150] In 1.320 I added additional logging to track down where it's aborted. Please follow http://wiki.hudson-ci.org/display/HUDSON/Logging and enable logging for hudson.model.Run, then report back what it printed out.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20489 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-06 01:09:50 +00:00
kohsuke 8bd0745e02 [FIXED HUDSON-3979] in 1.320. Hudson was writing back CVS/Entries in a wrong encoding.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20488 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-06 00:45:27 +00:00
kohsuke ff1d18a6eb improved docs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20486 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-06 00:36:24 +00:00