* [FIXED JENKINS-38005] Properly log failure due to empty archive in Pipeline
Since the job result is probably still null at the time that archiving
occurs, we weren't actually logging anything in Pipeline jobs in that
case. That was not ideal. So instead, let's log things, and also let's
update the error message to include a tip to use the allowEmptyArchive
option.
* Reverting to original message
* [JENKINS-42707] AccessDeniedException vulnerability in ReverseBuildTrigger.
* [JENKINS-42707] Added tests to expose the issue
* [JENKINS-42707] Log message according to permission (DISCOVER/READ)
* [JENKINS-42707] Use MockAuthorizationStrategy
* [JENKINS-42707] Remove internationalization for logger
[JENKINS-42959] Correctly compare key algorithms during key verification
[FIXED JENKINS-44046][FIXED JENKINS-43979] Use a larger default key size to fix issues when using SHA256 MACs during Diffe-Helman key exchange against older versions of OpenSSH
Fixes issues encountered following the recent move to the latest Trilead version. These fix 2 underlying issues:
diffe-helman-sha256 Key Exchange needs at least 2048 bits of data to generate a key against OpenSSH 6.4 and below.
Known hosts comparison incorrectly compares the hostname against the key value meaning key verification always fails when using known hosts files
* [JENKINS-42728] Updating view with CLI using different view type should fail
- Additionally, updating a view using an XML that will be converted by XStream via an alias
will succeed.
[FIXES JENKINS-42728]
* Remove TestView
* update test
* [JENKINS-42861] - Properly deprecate the HudsonExceptionNote implementation
It is a replacement of the original fix in https://github.com/jenkinsci/jenkins/pull/2808.
The implementation provides deprecates the annotation of the new stacktraces, but it retains the binary and the persisted data compatibility, which were missing in the original PR.
In the longer-term the hyperlinks should be replaced by the best possible equivalent (JIRA search, grepcode or whatever).
* [JENKINS-42861] - Cleanup the deprecated functionality
(cherry picked from commit 77a9f026f8)
Also make sure we don't mark the Computer as used so that we kill any
executors that may be related to it somehow.
(cherry picked from commit 23b0085f45)
* [JENKINS-42717] - Document view management methods in Jenkins and ViewGroupMixIn
* [KENKINS-42717] - GlobalDefauldViewConfiguration should not fail with NPE when the view is missing
* [JENKINS-42717] - Draft the direct unit test
* [JENKINS-42717] - Fix the tes implementation
* [JENKINS-42717] - Make FormException localizable
* [JENKINS-42717] - Fix te build glitch
(cherry picked from commit 4074818b97)
* Do not load detached plugins during tests.
Also warn about plugins which force us to create classes.jar.
* Porting POM fix from #2795: we must allow snapshots from repo.jenkins-ci.org so as to be able to test upstream component PRs.
* Fixed failures in tests which assumed detached plugins were being loaded.
* jenkins-test-harness 2.20
* Unreproducible test failure on CI, probably due to timing.
* [JENKINS-43825] - Refactor WindowsProcess to a separate class and optimize logging
* [JENKINS-43825] - Refactor the code to properly propagate WindowsProcessException in ProcessTree to the top level
* [JENKINS-43825] - Polish logging
* [JENKINS-43828] - s/WindowsProcess/WindowsOSProcess
* [JENKINS-43825] - Next time I will try to compile the code before submitting