Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke 3eeb8b969f turned Node into an abstract class to support better binary compatibility.
This change is still binary compatible for everyone using this today.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15341 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 15:23:54 +00:00
kohsuke 426fb47fca making a bit more progress
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15340 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 15:03:30 +00:00
huybrechts 24436ee05a [HUDSON-2997] no need to serialize this...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15339 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 12:45:57 +00:00
huybrechts 8233a00205 [FIXED HUDSON-2997]
- don't start two builds of the same project in the same second
- don't schedule two parameterized builds without parameters at the same time

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15338 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 12:36:57 +00:00
sogabe 6ca8a6cf58 move help.html of PAMSecurityRealm to war/resources/help/security.
I18N and L10N for PAMSecurityRealm.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15337 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 12:16:44 +00:00
mindless 963af1b34e in r15291 ParametersAction.build was removed.
1) added back this field as private transient so old build data can be loaded
   without unmarshall exceptions
2) fixed view showing parameters used for a build, which was using this build field
   (I think that's why it was there in the first place).. now I used
   request.findAncestorObject to get the build.
(feel free to rework either/both of these changes to a "better" way)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15331 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-14 01:39:15 +00:00
kohsuke f1f7d70f94 improved error diagnostics, as JDK doesn't tell us where we are loading the bits from
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15321 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:51:24 +00:00
mindless a3bac8aa3e [HUDSON-1670] use Localizables as parameters to another Localizable when creating
a HealthReport (for both Build Stability and Test Results).
When already-translated strings are used, these go into the cached health report,
so all users see language of the person who cached it rather than their own language.
Localizer package needs a fix so that Localizable.toString() defaults to
LocaleProvider.getLocale() rather than Locale.getDefault().. then these strings
will translate correctly to the language of the current request.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15320 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 22:36:24 +00:00
jglick 41732b6dfd Adding optional <kind> attribute to changelogsets for ease of identification.
Currently only implemented for CVS & SVN; could be done for others when the plugins have a new hudson-core dep.
See https://stapler.dev.java.net/nonav/issues/show_bug.cgi?id=4 for background.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15302 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 19:10:43 +00:00
kohsuke 5cf28bc2eb Proactively work around bug 6276483 by removing SunPKCS11-Solaris security provider.
See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6276483
and http://hudson.gotdns.com/wiki/display/HUDSON/Solaris+Issue+6276483

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15292 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 17:25:14 +00:00
huybrechts c397933f91 [FIXED HUDSON-2997] introducing QueueAction to pass actions from scheduling to the build it self
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15291 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 16:59:04 +00:00
mindless 583b3d3789 [FIXED HUDSON-2329] LDAP group permissions were not applied when logged in via remember-me cookie.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15290 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 16:49:36 +00:00
kohsuke f906de445f Hudson will now kill all the processes that are left behind by a build, to maintain
the stability of the cluster.
    (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=2729">issue 2729</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15289 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 16:43:59 +00:00
mindless 8b1f7627b0 fix typos
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15288 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 15:49:36 +00:00
kohsuke 35095a532a no use printing to stderr
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15285 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 01:00:13 +00:00
kohsuke a2432a4462 more doc
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15284 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 00:56:05 +00:00
kohsuke 9b1dddc116 shuffle around implementations and documents
so that we can use the kill method just with the model env vars

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15283 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 00:55:24 +00:00
kohsuke 616036a17a Plugin manager now honors the plugin URL from inside .hpi, not just from the update center.
(<a href="http://www.nabble.com/Plugin-deployment-issues-td21982824.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15281 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-13 00:12:47 +00:00
kohsuke e651ff600f ZFS migration feature is live
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15270 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 22:16:29 +00:00
kohsuke 45d486f2b3 if back up already exists, delete it
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15267 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 21:52:31 +00:00
kohsuke 942120a734 sharing the file system appears to require more permissions, so don't abort
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15266 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 21:30:58 +00:00
kohsuke e540cc39ab also do pfexec
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15265 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 20:59:25 +00:00
kohsuke d171f58a03 need to chown in case this code is executed as a super user
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15264 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 20:58:59 +00:00
kohsuke 5a828cc7c1 separating ZFS installation into two steps so that Hudson can ask for the super user password
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15262 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 20:31:24 +00:00
kohsuke 6ed48594ab share the file system
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15252 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 01:21:10 +00:00
kohsuke bbaa82fbba improved serialization signature
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15250 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 01:05:10 +00:00
kohsuke 9407efe8bc bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15249 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 01:01:59 +00:00
kohsuke 5584a80dc1 Adding ZFS migration support, but not activated for now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15248 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-12 00:59:42 +00:00
kohsuke 555ba665c6 added another function
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15245 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 22:58:02 +00:00
kohsuke c6eb7cab89 extend from AbstractModelObject to reuse some of its convenience methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15244 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 22:13:15 +00:00
kohsuke 0d937c66be added more convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15243 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 22:10:18 +00:00
kohsuke eb0ca615ea simplified by introducing a default
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15241 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 21:42:07 +00:00
mindless 5fcb745808 [HUDSON-291] Export CauseAction so exported Causes can be accessed via /api/.
Export base Cause class and its short description instead of on every subclass.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15237 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 18:16:50 +00:00
mindless 8929990889 [FIXED HUDSON-3011] Export ParametersAction and values via /api/
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15236 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 17:56:01 +00:00
kohsuke d4bd806c42 added a mechanism for AdministariveMonitor to be disabled.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15225 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 00:22:18 +00:00
sogabe ed2ca8f4b6 Added I18N and L10N(ja) for Cause
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15212 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 23:31:20 +00:00
kohsuke 8eb167ba43 to improve diagnosability, set the thread name to indicate what it's polling.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15209 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 22:40:56 +00:00
sogabe 6f0942b362 Added license statement.
I18N and L10n (Cause). 

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15189 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 15:56:51 +00:00
kohsuke 6ac8871544 formatting change
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15176 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 01:52:55 +00:00
kohsuke 529629c783 bug fix and a bit of simplification
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15175 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 01:52:24 +00:00
kohsuke e1e2408456 [HUDSON-2381]
Allowed the hashed password to live even if the security realm is temporarily made to something else.

Configurability of the hash function doesn't really buy you much because if you change it, all the stored hashed passwords become useless.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15173 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 01:34:11 +00:00
mindless 8f64a16964 [FIXED HUDSON-2381] Store SHA-256 encrypted passwords instead of reversible base-64 scrambling.
For compatibility, can still read old style user config.xml files, but whenever a user logs
in it will resave with the new style.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15172 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 00:18:47 +00:00
kohsuke 9cbeb0863f added one more convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15170 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 23:41:29 +00:00
kohsuke 481038189c [FIXED HUDSON-1454]
Handled the property-based activation correctly. Will be in 1.283.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15169 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 23:01:14 +00:00
kohsuke 262406c135 avoid using deprecated interface
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15166 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 20:07:17 +00:00
kohsuke fa2f77ec9c [HUDSON-1454] Improved the CLI option parsing to recognize "-Px,y,z" as profiles. This will be in 1.283.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15165 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 19:51:56 +00:00
kohsuke 8288bd5bba added a test case for http://www.nabble.com/unable-to-define-slave-in-%22use-for-tied-jobs-only%22-td21835058.html#a21835058
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15164 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 19:35:49 +00:00
kohsuke d980d5d4af UnsupportedOperationException leaves ugly stack trace on the server side when NOOP shows up in the configuration page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15163 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 19:35:22 +00:00
kohsuke 19076873d9 turns out Java system property "user.name" is enough
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15157 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 18:11:51 +00:00
kohsuke 57d3cdea7d doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15156 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 18:11:26 +00:00