[FIXED JENKINS-19898] test base classes should not be linked to the junit implementation.

Changed the return type to be generic and not the junit specific CaseResult.

TestObject.fullName was used in the baseClasses jelly but this was only defined in the CaseResult so add an implementation to the base class such that people can continue to use the generic jelly in their cusomt test implementations.

Change-Id: I39fbff6621d7f20f9cebb210eea4f54a90f77375
[JENKINS-17526] Relocating Jetty/Java tmpdir for Mac OS X.
[JENKINS-20534] Avoid usage of temporary file to write symlink.

Creating a symlink is an atomic operation, and additionally
usage of tmp file + rename performs very badly on NTFS file
system because of the way the rename is tracked in the $MFT.

In case symbolic links are not supported, we still fallback to
a regular file.
Renamed "Run Command" to "Run Shell Command"

The original name is quite confusing for users, because they usually want to run Batch scripts inside this installer. "Execute Batch Command" is available inside "extra-tool-installers" plugin, so there's no need to implement such installer inside the core.

Related to: https://issues.jenkins-ci.org/browse/JENKINS-20635

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
[JENKINS-21202] - Generalization of Command installers
This change adds an AbstractCommandInstaller, which can be extended for every script-based installation command.

Related to https://issues.jenkins-ci.org/browse/JENKINS-21202

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
[FIXED JENKINS-21202] - Added a BatchCommandInstaller

Related to https://issues.jenkins-ci.org/browse/JENKINS-21202

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
Fix failed to start when removed

When jenkins and daemon are removed and not purged,
failed to start.
Because `(echo && exit 0)` exits sub-shell only.
[FIXED JENKINS-20345] file descriptor leak in zip file download

When downloading a zip file with all of the artifacts, file descriptors
would be opened and never closed. This resulted in many leaked file
descriptors which would only be cleaned up the next time the garbage
collector was run.

For directories with a large number of files, the zip file would be
corrupted because an exception was thrown during the process of creating
the zip file when the process ran out of file descriptors. Jenkins was
then left in a very brittle state as random threads wouldn't be able to
open files or sockets anymore until the garbage collector was run.
[FIXED JENKINS-21386] Allow more specific loggers to reduce log level
[FIXED JENKINS-21386] Allow reordering loggers, use first with matching name.
Add changelog record for PR #1089
Replaced “New Job” with “New Item” since various plugins (such as cloudbees-folder) add TopLevelItemDescriptor’s which do not produce Job’s.
(Might be feasible to automatically use “Job” or “Item” according to the most specific common supertype of all registered descriptors?)
Warn in the UI about short cycles in the day of month field for a crontab, which can have surprising behaviors near the end of a month.
Merge pull request #1061 from OnBeep/feature/ampledata-mac_os_x_tmp

[JENKINS-17526] Relocating Jetty/Java tmpdir for Mac OS X.
changelog entry for JENKINS-17526
[JENKINS-16417]

My recommended fix in response to https://github.com/jenkinsci/jenkins/pull/1093. This does not eliminate nor exclude the need for more generic pluggability, but it would at least address the security concern.
Merge pull request #1086 from znz/master

Fix failed to start when removed
Merge pull request #1090 from daniel-beck/JENKINS-21386

[FIXED JENKINS-21386] Allow more specific loggers to reduce log level
Merge branch 'pull-1091'

Conflicts:
	core/src/main/java/hudson/logging/LogRecorder.java
	core/src/test/java/hudson/logging/LogRecorderTest.java
added a hook for use cases like https://github.com/jenkinsci/jenkins/pull/1079