Commit Graph
8530 Commits
Author SHA1 Message Date
Daniel Beck adf8305f8b [FIXED JENKINS-24914] Don't block indefinitely every other month 2014-10-09 00:46:11 +02:00
Daniel Beck 8cbd2b57a8 Updated since 2014-09-13 14:29:50 +02:00
Daniel Beck 852ba85c96 Merge pull request #1391 from daniel-beck/JENKINS-21881
[FIXED JENKINS-21881] System property for disabling X-Frame-Options
2014-09-13 14:14:37 +02:00
Kohsuke Kawaguchi f5a245e95d Exposing this to use it from other places that use channels 2014-09-11 15:21:05 +02:00
Daniel Beck fc78fdee9b [FIXED JENKINS-21881] System property for disabling X-Frame-Options 2014-09-07 18:46:49 +02:00
Daniel Beck 934d000bfd Inserted missing at-since 2014-09-06 00:52:51 +02:00
Daniel Beck 8aac35d4a1 Merge pull request #1380 from daniel-beck/JENKINS-6153
[FIXED JENKINS-6153] Add description for label atoms
2014-09-06 00:51:59 +02:00
Daniel Beck 9bc2f1d057 Merge pull request #1377 from daniel-beck/JENKINS-19764
[FIXED JENKINS-19764] Ensure parent dir of new builds dir exists.
2014-09-06 00:31:47 +02:00
Kohsuke Kawaguchi 6a2b879262 Revisiting 9b7b1364c0 a bit.
Since ConsistentHash is written as a mutable class, I think a better way to fit the existing design is to provide a bulk add operation.
It already has several methods to that end, so I just added one more that's needed for our purpose.
2014-09-05 10:45:42 -07:00
Daniel Beck 990a84f753 [FIXED JENKINS-24407] Restore icon class name during deserialization 2014-09-05 14:26:08 +01:00
Nicolas De Loof 9b7b1364c0 use a Builder to create ConsistentHash<Node>
invoking add(Node, replica) for all nodes rebuild the internal Table many times. Using a builder, Table is only created (and sorted) once
also avoid creating a fresh new Hash object (java 8 lambdas, I miss you)
2014-09-05 13:54:49 +02:00
Nicolas De Loof 66766953eb typos 2014-09-05 13:09:22 +02:00
Nicolas De loof 314bd64604 set @since on DecoratedLauncher 2014-09-02 12:04:12 +02:00
Jesse Glick 1a6e943d04 Improved Javadoc for ExecutorListener. 2014-09-01 21:41:33 -04:00
Jesse Glick 52c28ae38d NPE diagnosis from ProjectTest.testCheckout.
java.lang.NullPointerException: null
	at hudson.model.AbstractBuild.setWorkspace(AbstractBuild.java:296)
	at hudson.model.ProjectTest.testCheckout(ProjectTest.java:423)
2014-08-29 20:01:13 -04:00
Jesse Glick cb6e568815 [FIXED JENKINS-23522] Defend against stack overflows when a listener (unnecessarily) called super from a deprecated method.
Fixes #1295 a little differently.
2014-08-29 18:16:19 -04:00
Jesse Glick f39c435f8c [FIXED JENKINS-21977] Skip HsErrPidList when running functional tests. 2014-08-27 09:49:12 -04:00
Daniel Beck 4b6a8dde7d Merge pull request #1373 from daniel-beck/JENKINS-24014
[FIXED JENKINS-24014] Make reverse proxy check tolerate ?auto_refresh
2014-08-27 11:18:48 +02:00
Daniel Beck fe3b33a16e Merge pull request #1348 from daniel-beck/JENKINS-20307
[FIXED JENKINS-20307] Consider OneOffExecutors in Run.getExecutor()
2014-08-27 11:18:32 +02:00
Jesse Glick 174786b9f7 Properly documenting the AccessDeniedException as thrown by ItemGroup.read (and methods that call it).
Also making DISCOVER permission be implied by READ, which is natural since it is only checked if READ is denied.
2014-08-26 12:26:22 -04:00
Jesse Glick 03b31a2361 [FIXED JENKINS-21437] Mismatched synchronization monitor. 2014-08-25 10:07:08 -04:00
Daniel Beck f8638bab1a [JENKINS-6153] Move @since comment to getter 2014-08-24 01:08:24 +02:00
Daniel Beck 1657107f9e [FIXED JENKINS-6153] Add description for label atoms
The change to descriptionForm.jelly is necessary because JEXL
interprets the previous version as a call to the static method
get(String) of LabelAtom if ${it} is of that type.
2014-08-23 01:15:27 +02:00
Daniel Beck 7f4014c740 [FIXED JENKINS-19764] Ensure parent dir of new builds dir exists. 2014-08-21 19:18:00 +02:00
Jesse Glick 608517e187 [JENKINS-24244] If we are skipping polling due to quietingDown, at least record this fact in the system log. 2014-08-21 10:54:18 -04:00
Jesse Glick 088edabb31 [FIXED JENKINS-24317] Corrected user dir migration code from JENKINS-23872.
Adapted from #1375 by @daniel-beck: omitting change to User construction, and adding test.
2014-08-21 08:00:59 -04:00
Jesse Glick 5fea6cb52c [FIXED JENKINS-24358] RunSaveableReference.get can acquire locks, so avoid calling it while holding a lock on ourselves. 2014-08-20 17:36:34 -04:00
Jesse Glick e22ff9e9b6 More useful Dependency.toString. 2014-08-20 17:02:13 -04:00
Jesse Glick 7156e4470f Merge branch 'JENKINS-24110' of github.com:synopsys-arc-oss/jenkins 2014-08-18 16:33:18 -04:00
Jesse Glick cd33cdd8b7 [FIXED JENKINS-24309] Caching class loads and misses from UberClassLoader. 2014-08-18 15:36:56 -04:00
Jesse Glick a2341e6b4c [FIXED JENKINS-24251] Do not issue bogus warning about missing default JDK. 2014-08-18 12:49:18 -04:00
Oleg Nenashev 128344dda3 [FIXED JENKINS-24110] - Explicitly handle null Executables in hudson.model.Executor
This change improves the handling of errors in hudson.model.Executor, which cause issues like JENKINS-18164.
The change also introduces several annotations in order to prevent further issues.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-08-18 19:25:35 +04:00
Daniel Beck 97366bffe3 [FIXED JENKINS-24014] Make reverse proxy check tolerate ?auto_refresh 2014-08-16 00:06:13 +02:00
Jesse Glick 06b6cc9cdd Missing @since. 2014-08-15 15:30:43 -04:00
Nicolas De Loof 3efe07f563 [JENKINS-18824] prevent failure when startedBy is ‘unknown’ 2014-08-14 18:50:43 +02:00
Nicolas De Loof 6b4331b1c5 [FIXED JENKINS-18824] Pass actual username to CLICause 2014-08-14 17:40:49 +02:00
Daniel Beck 7fb4591bdc Merge pull request #1353 from daniel-beck/JENKINS-24095
[FIXED JENKINS-24095] Ensure only numExecutors exist when reducing
2014-08-14 14:53:57 +02:00
Daniel Beck c869cfdc0e Merge pull request #1340 from daniel-beck/JENKINS-23988
[FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods
2014-08-14 14:52:13 +02:00
Oliver Gondža 96d090e133 Noting #1221 2014-08-14 12:45:06 +02:00
Oliver Gondža 8175eecc7a Merge pull request #1221 from synopsys-arc-oss/configurable_queue_cache_refresh
[READY] [FIXED JENKINS-19691] - Added the hudson.model.Queue.cacheRefreshPeriod option
2014-08-14 12:41:17 +02:00
Oleg Nenashev 0d825984ff [FIXED JENKINS-19691] - Added the hudson.model.Queue.cacheRefreshPeriod option
The option allows to manage the refresh period of the internal queue cache.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-08-14 13:14:13 +04:00
Jesse Glick 8423158413 An SCM-only user has no groups, so do not throw an undocumented exception looking them up.
… hudson.ExpressionFactory2$JexlExpression evaluate
WARNING: Caught exception evaluating: it.authorities in /user/demo/. Reason: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
	at …
Caused by: org.acegisecurity.userdetails.UsernameNotFoundException: demo
	at hudson.security.SecurityRealm$None$2.loadUserByUsername(SecurityRealm.java:494)
	at jenkins.security.ImpersonatingUserDetailsService.loadUserByUsername(ImpersonatingUserDetailsService.java:32)
	at hudson.model.User.impersonate(User.java:282)
	at hudson.model.User.getAuthorities(User.java:769)
	... 93 more
2014-08-13 13:48:54 -04:00
Kohsuke Kawaguchi 1941f098e2 Merge remote-tracking branch 'origin/BuildStep-Job'
This really merges pull request #1330
2014-08-12 16:53:08 -07:00
Kohsuke Kawaguchi a92245a527 [FIXED JENKINS-23713] Allow BuildStep to work with non-AbstractProject
Merged pull request #1330
2014-08-12 16:50:50 -07:00
Kohsuke Kawaguchi 445323da5b Set the target release 2014-08-12 16:49:31 -07:00
Kohsuke Kawaguchi cf3891dd03 minor doc changes 2014-08-12 16:47:37 -07:00
Kohsuke Kawaguchi 6fcbc16434 If a BuildListener is given, we can just pass through. 2014-08-12 16:47:17 -07:00
Jesse Glick 8c038bbade Widening the return type of Fingerprint.BuildPtr.getJob to actually be Job, not AbstractProject. 2014-08-12 17:24:05 -04:00
Jesse Glick 3dea432c3d Merge branch 'master' into BuildStep-Job 2014-08-12 17:13:39 -04:00
Jesse Glick fd772948be Pulling doChildrenContextMenu up from AbstractProject into Job, since the latter already defines permalinks. 2014-08-12 12:52:05 -04:00