Commit Graph
3081 Commits
Author SHA1 Message Date
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
kohsuke 1c79e35c22 Added a hook to manipulate Launcher used during a build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14938 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-31 00:23:10 +00:00
kohsuke cc12964e9f Matrix security configuration now validates whether the username/password are valid.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14887 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 23:52:11 +00:00
kohsuke 61e2a289b8 added a new convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14878 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 21:43:06 +00:00
kohsuke 848cda75e4 doc improvements. I needed to have a set of authoritative documentation for how some of the LDAP schemas look like.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14875 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 19:34:13 +00:00
kohsuke fd10f9cb40 this appears to be creating security components twice.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14874 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 19:19:51 +00:00
kohsuke d3948fade3 this is just a short cut and not intended to be overridden. It should always remain consistent with UserDetailsService.loadUserByUsername
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14873 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 17:30:41 +00:00
kohsuke 3beed588ad DeferredCreationLdapAuthoritiesPopulator is no longer necessary because filters are now created after SecurityRealm is prepared.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14872 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 17:29:26 +00:00
kohsuke 23bafefcf3 made it possible to distinguish "no such user" from "I don't know if there's such an user", so that the UI can use this to improve error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14871 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 17:02:28 +00:00
f_cavarretta 6d15fb33bf [FIXED HUDSON-2825] Polling should be performed using parameters related to last build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14869 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 08:21:46 +00:00
kohsuke b710a9cb47 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14863 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 05:14:05 +00:00
kohsuke 113ea5007f bug fix on Solaris x86
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14862 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 05:10:52 +00:00
kohsuke 21219fc22e allow AuthorizationStrategy to programmatically set.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14849 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 17:36:10 +00:00
kohsuke f57b06cebf [FIXED HUDSON-2930] FULL_CONTROL right is no longer FULL_CONTROL at all.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14845 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 17:11:03 +00:00
stephenconnolly 0ab339322b Expose the partial icon URL via the xml and json APIs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14837 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 11:15:19 +00:00
kohsuke e821515b2b we need to go through the initialization method as some JobProperty uses this to initialize other things (for example, the batch-task plugin does this.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14830 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 02:22:42 +00:00
kohsuke e334b330c2 [FIXED HUDSON-2925] show the status of executors on the computer page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14829 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 02:04:44 +00:00
kohsuke b7d3308bbb updated the error diagnostics when this happens.
See http://www.nabble.com/Update-failed-due-to-local-files-td21691739.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14828 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 01:39:14 +00:00
mindless 131eefb10d design rejected, revert r14823,14824
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14826 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 23:57:27 +00:00
mindless 73fad75d04 [FIXED HUDSON-291] Add new ItemListener.onScheduled(Queue.Task) interface method
and invoke this from Queue.add().  Hudson registers a listener to write what
triggered each build into the console output.
BuildableItem.scheduleBuild() now takes triggeredBy parameter,
ParameterizedProjectTask stores triggeredBy value for scheduled tasks,
and Trigger has scheduleBuild convenience methods to use its descriptor's
displayName as the triggeredBy value.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14823 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 18:43:20 +00:00
kohsuke 0ac9afb603 fixed a possible race condition (http://www.nabble.com/build-executors-%3E-1-%28Slave%29-td21689700.html)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14822 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 18:03:04 +00:00
kohsuke 9e0b0c4d2e a debug statement crept in
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14821 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 17:57:16 +00:00
fujibee 3ea134b693 Allow anonymous access to the path of slave agent listener. It must be used by only slave agents. It would NOT mean to publish JNLP files including secret key.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14814 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 10:23:25 +00:00
kohsuke 4cc7b23188 [FIXED HUDSON-2862]
implemented a new extension point to add a new column to ListView.
In 1.279. Needs to be tested.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14813 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 06:10:21 +00:00
kohsuke 8bb0f092f8 Made the code robust against possible race condition. See http://www.nabble.com/Anyone-using-AccuRev-plugin--tt21634577.html#a21671389
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14812 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 04:39:00 +00:00
ertanden 412d5309b0 Enable SVN tagging action as a promotion step
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14809 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-26 22:11:28 +00:00
huybrechts 695a35191d HUDSON-2342: Parametrized Project can't be unparametrized
checking for value of 'parameterized' checkbox

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14806 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-26 20:49:38 +00:00
martinficker 6d2a15ef23 fix: createPath failed for offline Slaves
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14796 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-25 20:48:44 +00:00
kohsuke 92d1759bcb Added another variable 'index' that lets people create sparse matrix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14794 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-25 17:01:03 +00:00
kohsuke 12e6a35672 this doesn't compile
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14793 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-25 16:18:27 +00:00