Jenkins publish-over-ssh plugin bug handling

In jenkins, publish-over-ssh is used for remote publishing. After configuration, save the error:

Checked online is the bug of the low version of Jenkins

Just want to upgrade the version of jenkins, you need to save the configuration in the memory to the xml file before upgrading, and you can check the information through jenkins-cli

java -jar jenkins-cli.jar -s jenkins -auth admin:密码 update-job job名称;

After the execution, the failure is found, which should be the same reason as the foreground save failure. There is no way but to manually record the configuration. Perform jenkins upgrade

If your host can access the external network, the upgrade is easy, just download the latest jenkins .war package and replace it.

If it is an intranet environment like us, first upgrade jenkins.war, and then upgrade the specific plugins. The specific operation is

1. Log in to jenkins, click System Management, if there is a plugin dependency problem, an error will be reported.

2. By downloading the plug-in first and then uploading it

Plug-in download link: http://updates.jenkins-ci.org/download/plugins/

3. For example, after I upgrade the publish-over-ssh plug-in to the latest version, the plug-ins that need to be upgraded are publish-over-ssh.hpi, jsch.hpi,

ssh-credentials.hpi,trilead-api.hpi,credentials.hpi,publish-over.hpi

 

 

Guess you like

Origin blog.csdn.net/qq_26276667/article/details/111194970