|
Description:
|
I have a job that utilizes the SSH and SSH Credentials plugins. The job is configured to use "Execute shell script on remote host using ssh", with "Pre build script" configured execute a backup script. These jobs had been running successfully from at least mid-July.
At some point at the beginning of November (I only caught this today; a month later), the SSH plugin was uninstalled from this Jenkins instance; however, these scheduled backup jobs continued to run, reporting as successful. The console output had an SSH Agent connect, then disconnect, and the job was marked as successful. No errors, no warnings, no notifications.
I'm not sure how feasible it is, but I believe Jenkins should [at least have the option to] check each job before running to ensure that it has all of the required Jenkins plugins, and, if it doesn't, fail the build, thus sending notification emails so responsible parties can fix it.
Plugins: Active Directory Plugin 1.38, Credentials Plugin 1.18, Deploy to container Plugin 1.10, Javadoc Plugin 1.2, JUnit Plugin 1.2-beta-3, Mailer 1.11, MapDB API Plugin 1.0.6.0, Matrix Authorization Strategy Plugin 1.2, Matrix Project Plugin 1.4, Maven Project Plugin 2.7.1, OWASP Markup Formatter Plugin 1.3, PAM Authentication plugin 1.2, Parameterized Trigger plugin 2.25, SCM API Plugin 0.2, SSH Agent Plugin 1.5, SSH Credentials Plugin 1.10, SSH plugin 2.4, SSH Slaves plugin 1.9, Subversion Plugin 2.4.4, Translation Assistance plugin 1.12, Windows Slaves Plugin 1.0
|