Clear plugin on promotion
The plugin manager does not get rid of plugins that are not defined
in the plugins file. It keeps appending to the list. To do that, we
need to have to start from a clear state by removing the directory
(--clean-download-directory
).
Note: previously downloaded plugins are apparently not cached by the Jenkins plugin manager CLI. Each deploy thus redownload all requested plugins.