Commit Graph
11799 Commits
Author SHA1 Message Date
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
sogabe 5ceef080cd use encodeURIComponent so that viewExistsCheck works for Japanese view name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20670 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-13 15:58:23 +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
kohsuke e886819ac8 Merged revisions 20511,20544,20546,20549 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20511 | kohsuke | 2009-08-06 14:32:18 -0700 (Thu, 06 Aug 2009) | 1 line
  
  fixed the UI regression. Maybe boolean collapsing is not happens automatically, or and is defined in a strange way for non-booleans?
........
  r20544 | kohsuke | 2009-08-07 22:22:42 -0700 (Fri, 07 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_319
........
  r20546 | kohsuke | 2009-08-07 22:22:55 -0700 (Fri, 07 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r20549 | kohsuke | 2009-08-08 01:19:02 -0700 (Sat, 08 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@20596 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-10 18:36:01 +00:00
sogabe 3ea4dbeeb6 added Japanese localization for #20580
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20584 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-10 13:51:50 +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
huybrechts 9d55900f8f set AntClassLoader property as in pom
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20575 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-09 20:00:41 +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
mindless 52015e2c98 [FIXED HUDSON-4110] show warning if zero value entered for #builds/#days to save
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20559 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-08 17:29:18 +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
sogabe ba3a27a432 [FIXED HUDSON-3392] use encodeURIComponent, not escape. escape breaks Japanese parameter value.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20550 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-08 08:29:40 +00:00
sogabe 0fdf2b84ae added Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20543 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-08 04:04:15 +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
kohsuke 110f9be255 improved error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20485 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-06 00:12:01 +00:00
kohsuke 72a8f06516 more logging.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20484 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-06 00:02:31 +00:00
kohsuke b47fff0f31 added more logging.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20483 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-05 23:52:16 +00:00
huybrechts 3aeb74eed7 don't write test file to current directory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20465 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-05 14:37:04 +00:00
sogabe acd7e6b2bc Updated Japanese localization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20454 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-05 12:50:14 +00:00
huybrechts 8b6295140e MyViewsProperty.doIndex is not used
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20453 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-05 11:38:30 +00:00
huybrechts 01daea2fbf [FIXED HUDSON-4160] fixed redirect after deleting view
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20452 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-05 05:59:04 +00:00
kohsuke ae28f88a1f [FIXED HUDSON-3028] in 1.319. In a long run, I believe doing this control in the queue with ResourceController is better, because (1) scheduling one at a time can create unnecessary wait time --- say if one of the configuration needs to run on a slave that's blocked, then it's better to schedule others first, and (2) the notion of shared resources spans beyond a single job, so doing that coordination at a job level isn't general enough. That said, I think it'll be easy enough to maintain data compatibility when this happens, so I'm committing this change now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20445 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-04 15:34:41 +00:00
kohsuke ca1010ca63 Hudson shouldn't immediately launch a slave newly created via copy.
<a href="http://www.nabble.com/copying-slave-td24791624.html">report</a>


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20441 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-04 00:58:18 +00:00
kohsuke 4857164a45 Added extra type checking to detect problems like http://www.nabble.com/Creating-a-new-parameter-Type-%3A-Masked-Parameter-td24786554.html early on.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20440 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-04 00:39:21 +00:00
kohsuke f69abee0bf Merged revisions 20338,20358,20360,20363 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20338 | kohsuke | 2009-07-31 10:44:39 -0700 (Fri, 31 Jul 2009) | 1 line
  
  until this works out of the box with JOnAS. See  http://www.nabble.com/Error-with-mime-type--%27application-xslt%2Bxml%27-when-deploying-hudson-1.316-in-jonas-td24740489.html
........
  r20358 | kohsuke | 2009-07-31 18:18:06 -0700 (Fri, 31 Jul 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_318
........
  r20360 | kohsuke | 2009-07-31 18:18:19 -0700 (Fri, 31 Jul 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r20363 | kohsuke | 2009-07-31 19:08:10 -0700 (Fri, 31 Jul 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20439 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-04 00:37:51 +00:00
kohsuke 4f99d26c0d Added a new password parameter type to the parameterized builds.
(<a href="http://www.nabble.com/Creating-a-new-parameter-Type-%3A-Masked-Parameter-td24786554.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20438 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-04 00:32:13 +00:00
huybrechts d6036ebba2 [FIXED HUDSON-3703] added extra @Exposed properties for parameters
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20426 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-03 22:42:16 +00:00
huybrechts 6282431342 [FIXED HUDSON-3703] added extra @Exposed properties for parameters
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20424 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-03 22:36:11 +00:00
huybrechts 76ad914ecf [FIXED HUDSON-2929] resolve variables in ArtifactArchiver.artifacts
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20419 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-03 22:08:37 +00:00
huybrechts e173785572 [FIXED HUDSON-3978] wrong project displayed in configuration page of RunParameterDefinition
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20418 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-03 21:59:00 +00:00
huybrechts 44a932af7b [FIXED HUDSON-3539] fixed, although I wonder if we should not make selecting a file mandatory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20417 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-03 21:50:47 +00:00
huybrechts ee11245522 [HUDSON-4151 FIXED] user-private views
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20416 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-03 21:34:06 +00:00