Commit Graph
3110 Commits
Author SHA1 Message Date
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
kohsuke 28885d20e9 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15155 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 17:47:51 +00:00
mdonohue 1782e10dc4 Fix HUDSON-291
We now add a CauseAction to each job, and a summary.jelly file which renders
the cause on any job with an explanation.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15150 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 02:12:12 +00:00
mindless 81c16190bb [FIXED HUDSON-2599] Update validation check now that ldaps:// is accepted
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15148 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 00:02:04 +00:00
kohsuke e701da7cfa Added a discovery support by listening to UDP.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15122 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-08 06:28:27 +00:00
kohsuke 8cc9cea345 I can no longer claim my copyright on new code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15109 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-07 16:56:35 +00:00
kohsuke 1a596913c8 Added UNIX PAM authentication support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15108 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-07 16:51:23 +00:00
kohsuke 675e34686f Intercept an exception so that the stack trace shows how we end up marshalling the object in question.
See http://www.nabble.com/Trouble-configuring-Ldap-in-Hudson-running-on-JBoss-5.0.0.GA-td21849403.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15097 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-07 02:05:01 +00:00
kohsuke 1f11a93393 code simplification. Parameterized build is in the core, so we should make AbstractBuild aware of it.
See http://www.nabble.com/TFS-build-by-label--td21859630.html where Eric mentioned his confusion about how his plugin can get parameters.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15091 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 22:36:24 +00:00
kohsuke 6ee24ace94 [FIXED HUDSON-2990] JobProperties are now exposed to the remote API. In 1.282.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15086 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 21:59:39 +00:00
kohsuke 3db545859b Fixed a JavaScript bug in slave configuration page when locale is French.
(<a href="http://www.nabble.com/Javascript-problem-for-french-version-td21875477.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15084 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 21:49:08 +00:00
kohsuke ee7fd53b52 added more validator type
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15083 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 21:39:38 +00:00
kohsuke 1a1d0d74d5 license header clean up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 20:05:24 +00:00
mindless af409e35b3 Matrix security username/groupname validation required admin permission
even in project-specific permissions.. now require CONFIGURE permission on project
when validating in project settings.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15080 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 18:10:30 +00:00
mindless 9b19ec692d [HUDSON-2959] Fix double slash in image urls returned by doCheckName
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15079 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 17:56:51 +00:00
mindless 3931568f86 [HUDSON-2922] Rather than center first 2 columns ("S" and "W"),
use nbsp to indent based on current iconSize (1 nbsp per 10px of iconSize).
Sortable table alters th content, so was unable to use css to indent here.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15054 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 01:00:20 +00:00
jglick 978ddf3bd2 [FIXED HUDSON-2760] Rearranging /testReport/api/xml to be more like junitResult.xml.
Now groups results into suites, then cases.
A suite has a name, which is usually - but not always - identical to the class name of its cases.
(If you have static Test suite() methods, then it could be different.)
stdout/stderr is associated with a suite. (JUnit does not record which case produced stdio.)
Also exporting failedSince and skipped attrs.
junitResult.xml is similar, but does not represent FAILED vs. REGRESSION or age (does have failedSince).
Prior fixes failed to export stdout/stderr, and in fact made case details invisible.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15045 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-05 22:57:54 +00:00
kohsuke f03224148b having two logger makes no sense
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15025 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-04 15:25:59 +00:00
mindless f6e780339f [FIXED HUDSON-2959] Fix broken images by adding rootUrl in image links returned by
checkName; avoid NullPointerException in LDAP groupname lookup when groupSearchBase
is not set.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15006 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-02 19:36:23 +00:00
mindless 1396fd5541 [FIXED HUDSON-2958] Make LDAPSecurityRealm.ldapTemplate field transient
so ~279K lines are not written to config.xml


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15003 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-02 19:15:40 +00:00
kohsuke cbdbbf4619 attached the execution result from a 32bit system
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14982 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-01 19:10:09 +00:00
kohsuke d2e487b5bc test program used for determining offsets
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14981 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-01 19:08:04 +00:00
kohsuke 9b604944db Added Mac OS X support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14980 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-01 19:05:52 +00:00