'jenkins - the Publish Over SSH plugin not displayed

I am working with Jenkins and I want to install the Publish Over SSH Plugin, but I didn't see the plugin not in the Available Tab, and not in the Installed Tab.

Is it possible to install this plugin in another way?



Solution 1:[1]

Manual installation :

0- donwload source code zip file from here under: https://github.com/jenkinsci/publish-over-ssh-plugin.git

1- install mvn on your local machine if not yet. 2- open terminal in the folder (source code folder which is downloaded from Github (step 0) 3- Run mvn compile, after that mvn package--> will generate target folder with necessary files.(.jar, .hpi) 4- inside the generated folder target you will find .hpi file 5- in Jenkins UI go to manage Jenkins -> Plugin management -> in the second section UI based upload, upload .hpi file from target folder and hit upload. after successful upload a window appears where you can restart jenkins - changes will take effect after restarting.

You will successfully find the plugin installed under "installed" tab. With security warning. which is obviously not to be used in a production environment. let me know if you have any issues.

Solution 2:[2]

The plugin was probably pulled from plugin repository due to an extensive list of unresolved Security Issues.

If prepared to accept the risk, you can download the latest release from the GitHub repo, then manually upload.

Update: for some reason, the plugin mainteners only github release the source tarballs and not the corresponding hpi/jpi. Found it in the archives. Go up a dir for earler versions, up two for over plugins.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ikad
Solution 2