[FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods
Refactor CLIRegistererTest.testAuthWithSecurityRealmCLIAuthenticator
Getting back to existing CLIMethod command as I failed to register CLIMethod from jenkins-test-harness
[FIXED JENKINS-24032] Different message when restart is not supported.
[FIXED JENKINS-24095] Ensure only numExecutors exist when reducing

When reducing the number of executors from M to N, previously it'd
kill all idle executors, and then create executors 0...N-1 unless
they already exist (busy executors).

This can lead to the situation where e.g. executor #5 is busy and
retained, and when setting the number of executors to 3, 0...2 are
created, resulting temporarily having 4 executors.

This change prevents #2 from being created in the example. When #4
is finished, it'll be killed anyway and a new executor #2 created,
so after some time the executor indexes are cleaned up matching
expectations.
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
Some updates to Swedish translations.

Signed-off-by: Anders Hammar <anders@hammar.net>
[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>
Merge pull request #1221 from synopsys-arc-oss/configurable_queue_cache_refresh

[READY] [FIXED JENKINS-19691] - Added the hudson.model.Queue.cacheRefreshPeriod option
Noting #1221
Merge pull request #1368 from andham/sv_SE_translation_updates

Some updates to Swedish translations.
Thanks!
Merge pull request #1340 from daniel-beck/JENKINS-23988

[FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods
Merge pull request #1350 from daniel-beck/JENKINS-24032

[FIXED JENKINS-24032] Different message when restart is not supported.
Merge pull request #1353 from daniel-beck/JENKINS-24095

[FIXED JENKINS-24095] Ensure only numExecutors exist when reducing
Noting #1340 #1350 #1353
[FIXED JENKINS-18824] Pass actual username to CLICause
[JENKINS-18824] prevent failure when startedBy is ‘unknown’
Missing `@since`.
quote vs apostrophe issue in changelog
[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>