Commit Graph
6160 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi c5cefcb165 documenting what this method does 2012-05-21 17:24:00 -07:00
Kohsuke Kawaguchi c86aa67953 Enabled concurrent build support for matrix projects 2012-05-21 17:03:35 -07:00
Kohsuke Kawaguchi 039b359a26 added a note 2012-05-21 17:03:08 -07:00
Kohsuke Kawaguchi 76832379d8 exposed data about installed plugins, installable plugins, update center jobs, etc., to the REST API 2012-05-21 16:59:24 -07:00
Nicolas De Loof 609392414f [FIX JENKINS-13824] prevent NullPointerException 2012-05-18 14:55:25 +02:00
Kohsuke Kawaguchi 124706a78c Eliminated the lock for better scalability. 2012-05-15 23:01:17 -07:00
bap2000 9d8f300179 Enable ant default excludes to be turned off.
Add a new overload method to list files that include the files that ant excludes by default.
2012-05-14 16:01:42 -07:00
Kohsuke Kawaguchi 18eb975b9f pointless type parameters help work around bugs in javac in earlier 2012-05-08 23:50:22 -07:00
David Reiss e15b2e19e3 [FIXED JENKINS-13202] Don't set mtime or mode on symlinks
Previously, the untar code tries to set the last modified time and mode
on every untarred file.  However, if the tar contains a broken symlink,
or a symlink that points to a file that has not been untarred yet, the
time/mode setting would fail on the broken symlink.

Symlinks don't have meaningful modified times or modes of their own, so
only set these values on non-symlinks.

Rename the file "a" in the test to expose the bug.
2012-05-08 14:52:52 -07:00
Ryan Campbell ad2912a317 Expose /whoAmI/api/*
- Create WhoAmI UnprotectedRootAction
2012-05-07 18:54:28 -05:00
Olivier Lamy a4ddfa7eaa Merge pull request #468 from Vlatombe/namespace-tools-installations-by-tool-name
Namespace tools installation by tool name.
Thanks!
2012-05-07 13:33:18 -07:00
Vincent Latombe fc962ca9cb Namespace tools installation by tool name.
This prevents naming conflicts if someone names 2 tools installations
of different tools with the same name.
2012-05-06 17:27:43 +02:00
Kohsuke Kawaguchi 7a0bd976f1 fixed JDK auto installer 2012-05-04 13:02:33 -07:00
Kohsuke Kawaguchi 113c3a562c Improved error diagnostics for those who miss whitespace. 2012-05-04 13:02:16 -07:00
Kohsuke Kawaguchi ecf7a119bd added a convenience method 2012-05-04 13:02:16 -07:00
Kohsuke Kawaguchi 7a4858d65f [FIXED JENKINS-12585] restrict where sessions are created.
If a resource with 'Set-Cookie' header is cached (either by intermediary
like HTTP proxy and reverse proxy, or by the browser), it'll cause
identity swap / session mix-up as discussed in this ticket.

I suspect this was caused by HttpSessionContextIntegrationFilter2, which
is the only code path that attempts to create a session when a request
to a static resource is made.

So I'm disabling the creation of session in
HttpSessionContextIntegrationFilter2. This in turn requires that we
have sessions already created when the authentication was successful and
people need to login (or else the login will have no effect.)

We already do so in layout.jelly, so any request that renders a Jenkins
page would have a session, but I've also added it in
AuthenticationProcessingFilter2, which ensures that a successful login
does have a session.
2012-05-03 17:56:13 -07:00
Jerome Lacoste 4aab81f823 Clean up FilePath. Extract one method out, and ensure closing of input stream after copy 2012-05-01 11:42:24 +02:00
Stephen Connolly c92c2217ec [FIXES JENKINS-13649] As FilePath(FilePath,String) expects multi-segment relative paths, we should ensure that the multiple segments are using the correct separator character for the remote OS 2012-05-01 09:21:39 +01:00
Kohsuke Kawaguchi 7788632a0f Fixed test failures and regressions. 2012-04-30 12:20:22 -07:00
Kohsuke Kawaguchi 3b5e9f9dcf auto-import common packages 2012-04-27 16:09:49 -07:00
Kohsuke Kawaguchi 89bd2afd1a locking down access 2012-04-26 00:27:15 -07:00
Kohsuke Kawaguchi c45192418a Avoid using deprecated direct field access. 2012-04-26 00:25:38 -07:00
Kohsuke Kawaguchi 047fdda91f deprecate the method that assumes one instance per descriptor 2012-04-26 00:04:01 -07:00
Kohsuke Kawaguchi c12df414ea [JENKINS-13536] I think the proper thing to do is to use the Accept header, not the Content-Type header. 2012-04-25 23:58:54 -07:00
Reynald Borer 1409fdff19 [FIXED JENKINS-13546]: return a JSON string when client request it through content-type header
When a client uses the buildWithParameters API and request a json output, return the job definition as a json string instead of doing a redirect on the job page.
2012-04-25 23:56:51 -07:00
Rob Petti db1b7eef1a [FIXED JENKINS-13526] use '@' prefix to force PAM to interpret the user/group as a group 2012-04-25 23:40:42 -07:00
Kohsuke Kawaguchi 749f4ffadf Merge remote-tracking branch 'origin/publisher' 2012-04-25 22:56:03 -07:00
Kohsuke Kawaguchi 078ccd37a8 Merge branch 'rc' 2012-04-25 15:17:22 -07:00
Kohsuke Kawaguchi fdaee7eba3 [FIXED JENKINS-13600] API token authentication was broken in 1.461. 2012-04-25 15:16:57 -07:00
Kohsuke Kawaguchi 6cc90ddd34 [SECURITY-31] avoid over-eagerly creating user objects. 2012-04-25 10:09:01 -07:00
Ryan Campbell 0cc1346ae3 Computer.getNode() can return null, causing NPE and making jobs to appear to run forever 2012-04-25 09:43:50 -05:00
Christoph Thelen 0725d2765d [FIXED JENKINS-13165] Allow plugins to disable usage of Ant default excludes.
This is also related to [JENKINS-9778].
2012-04-24 12:39:41 -07:00
Jerome Lacoste 84f08379e8 [FIXED JENKINS-8214] Added a DISCOVER permission to allow anonymous users to be presented the login screen when accessing job URLs 2012-04-24 19:21:13 +02:00
Vojtech Juranek 4f272d4b6d [FIXED JENKINS-13564] If there is any problem when searching for user partipication in the build, end up more gracefully. 2012-04-24 10:13:30 +02:00
Ryan Campbell a857ad29e6 CauseOfBlockage from QueueTaskDispatcher was not being displayed in GUI (hover over item in queue) 2012-04-21 11:50:44 -05:00
Seiji Sogabe 5587d13f58 [FIXED JENKINS-13524] Validate project naming regex immediately 2012-04-21 10:03:02 +09:00
Seiji Sogabe f338e21b4f Merge pull request #433 from marc-guenther/jenkins-10880
[JENKINS-10880] output the job when polling fails
2012-04-20 04:08:49 -07:00
Kohsuke Kawaguchi d98926aebb Fixes NPE.
if the root URL isn't configured, clients won't be able to find this, so might as well not advertise at all.
2012-04-19 17:52:06 +02:00
Kohsuke Kawaguchi aef3cf3acf converting publishers to a drop-down menu to save real estate 2012-04-19 17:52:06 +02:00
Andrew Bayer ca3ad78017 Merge pull request #441 from evernat/master
[FIXED JENKINS-13454] Optimize the plugin manager
2012-04-16 12:47:36 -07:00
Kohsuke Kawaguchi c15ce7d52c The code was incorrectly ignoring bogus suffix.
It should return null for those cases instead.
2012-04-16 21:15:21 +02:00
Kohsuke Kawaguchi 829f491cbd getItem contract requires returning null 2012-04-16 21:15:21 +02:00
unknown e465f7202e [FIXED JENKINS-13454] Optimize the plugin manager 2012-04-14 16:53:12 +02:00
Kohsuke Kawaguchi 0f08dc0cb5 Retaining backward compatibility since this already went into a release. 2012-04-14 07:35:20 -07:00
Kohsuke Kawaguchi 08f2804625 As was discussed in pull request #421, not caching it. 2012-04-14 07:31:59 -07:00
lvotypko 33e0df78b0 Extension point for adding actions into build page 2012-04-14 07:27:31 -07:00
Kohsuke Kawaguchi 7609248d05 bit of simplification 2012-04-14 07:18:34 -07:00
Bruno Meneguello 5a32eca331 [FIXED JENKINS-13416] On demand slave provisioning is starting all available slaves 2012-04-14 07:18:33 -07:00
Vojtech Juranek 6788f82a2c [FIXED JENKINS-13448] Added additional checks if Guice will be able to create injector to exclude missing extension poins. 2012-04-13 22:56:21 +02:00
Kohsuke Kawaguchi 8886bea1fb fixed a concurrency bug in the impersonation code 2012-04-12 14:41:17 -07:00