Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke 66528e43aa fixed a test failure caused by the lack of reloading configuration at the test case boundary.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11655 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-21 22:10:20 +00:00
kohsuke 31c9fbf032 adding tunneling option for JNLP slave agents. This came from Ken Hofsass who needed the connection to the server be tunneled for security reasaons.
jnlp-agent needs to be updated to take this into account.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11638 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 18:08:36 +00:00
kohsuke 02434ca1af avoid calling the deprecated method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11629 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 01:00:46 +00:00
kohsuke 4153308074 added a hook to skip update center updates. This is primarily added for testing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11625 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 00:32:20 +00:00
kohsuke 0d1ef71006 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11608 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 04:09:32 +00:00
kohsuke 9841dad522 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11607 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 04:00:09 +00:00
kohsuke a24fd49d6a not sure why, but otherwise a directory creation fails.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11605 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:52:06 +00:00
kohsuke 814cd5ba4b [FIXED HUDSON-2230] Fixed IllegalMonitorStateException. In 1.249.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11604 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:51:35 +00:00
kohsuke 4faa52d0ec JNLP slave agent fails to launch when the anonymous user doesn't have a read access.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11602 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:30:57 +00:00
kohsuke a9a6d17e55 unused imports
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11598 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:04:29 +00:00
kohsuke f9486afebc ContainerAuthentication needs "authenticated" built-in role.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11597 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:02:06 +00:00
kohsuke 06df8bb626 making the add method public to improve testability, but as a side effect, this makes this class mutable.
The concurrency commitment of the class needs to be defined eventually, or perhaps this class should be made immutable again.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11571 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 02:15:46 +00:00
kohsuke 70b6e4fda4 Trying to access protected resources anonymously now results in 401 status code, to help programmatic access.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11568 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 01:56:05 +00:00
kohsuke f1d3c50d61 Added the setSlaves() to enable programmatic slave configuration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11516 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:05:35 +00:00
kohsuke 8339f02284 Added a mechanism to perform a bulk change without intermediate save().
This allows us to define more setter methods on configuration values, which in turn improves the ability to make programatic changes to the configuration, which in turn improves testability.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11515 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:01:06 +00:00
kohsuke bfaf4a427d added a switch to skip the "ln" invocation, even on Unix.
This is primarily added for the sake of Project Caroline, but I might remove this later.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11514 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:59:25 +00:00
kohsuke cbb13c1fc5 it already inherits this through ItemGroup
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11513 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:25:49 +00:00
kohsuke 283d6ea4ba Run is a PersistenceRoot, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11512 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:24:09 +00:00
kohsuke 9e448a1982 Hudson is a PersistenceRoot.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11511 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:23:48 +00:00
kohsuke 4f290961fc link is deprecated
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11487 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 01:44:17 +00:00
kohsuke b9f5d6a736 [FIXED HUDSON-2220] SNAPSHOT in version numbers need to be handled accordingly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11485 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 01:25:51 +00:00
kohsuke d292c13b55 this message ends up filling logs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11472 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 20:11:39 +00:00
kohsuke 35c1057c86 added a missing VariableResolver
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11471 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 18:06:50 +00:00
kohsuke 1439b841ef Added an ability to manually wipe out the workspace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11469 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 17:55:35 +00:00
kohsuke f62eba40a1 handle AbortException as per the contract.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11461 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 23:42:44 +00:00
kohsuke 48014634b0 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11458 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 22:33:34 +00:00
kohsuke e68ac29120 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11457 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 21:49:48 +00:00
kohsuke 05fccc801e added a method to unzip
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11456 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 21:48:40 +00:00
kohsuke 1b24ccf66c making this final broke the TFS plugin. Rolling back.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11430 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 18:32:15 +00:00
kohsuke dc296f680d improved error handling
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11404 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 00:29:17 +00:00
kohsuke d876beffbe pushing these methods up in the inheritance hierarchy to make logs accessible for all Computer derived classes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11403 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 00:19:29 +00:00
kohsuke 4c893a3f30 Detect the updates to <tt>hudson.war</tt> and report it.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11397 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 00:03:19 +00:00
kohsuke 467519b2fe set the value to something to make this field non-null all the time.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11396 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 23:17:54 +00:00
kohsuke 1e11a2fd39 this is more OO.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11395 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 23:04:18 +00:00
kohsuke 1436bf7798 handle subtyping better.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11392 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 20:25:15 +00:00
kohsuke b03414c1be enabling subtyping.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11390 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 18:56:23 +00:00
kohsuke 9011000977 simplifying
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11389 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 18:51:02 +00:00
kohsuke 4ca5ac2193 [FIXED HUDSON-2194] Don't repeat the same error multiple times.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11388 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 18:35:39 +00:00
kohsuke 58a378db05 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11382 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 05:15:26 +00:00
kohsuke 281868ef42 implemented structured form submission for file uploads.
See http://hudson.gotdns.com/wiki/display/HUDSON/Structured+Form+Submission for the behavior.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11381 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 05:08:33 +00:00
kohsuke f51da3655f doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11377 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-10 23:10:11 +00:00
kohsuke 5d13c21b07 [FIXED HUDSON-179] Set the <author> field to the admin address.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11376 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-10 23:02:56 +00:00
kohsuke 5450e9a87a [FIXED HUDSON-1569]
Added a new RSS feed type that just shows the last builds.
This techniques uses the unique ID tied to a project and keep updating the same entry by the last build.

This is a stretch of the RSS use case, and so some RSS readers do not work with this notion --- for example, the "straw" RSS reader didn't work.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11363 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-10 01:46:02 +00:00
kohsuke cce6d8b17e clarifying ID semantics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11362 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-10 01:31:08 +00:00
kohsuke e05ba0a790 gave it a recognizable name
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11361 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-10 00:57:40 +00:00
kohsuke 86edeac803 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11360 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-10 00:50:17 +00:00
kohsuke 36840d4bcf moving error correction code to the setter.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11356 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-09 05:49:09 +00:00
kohsuke 9afe121036 added setters to enable testing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11355 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-09 05:42:08 +00:00
kohsuke d5dd1e9bd6 queue initialization has to happen after the timer is set.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11348 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-08 23:02:00 +00:00
kohsuke 1512ac072f resettting trigger from Hudson
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11347 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-08 22:55:56 +00:00