Rancher plugin for Jenkins Connection to Rancher Failed

Hi,

I installed rancher plugin in Jenkins.

as per https://wiki.jenkins.io/display/JENKINS/Rancher+Plugin I tried, but getting error
" Connection fails with message : Connection to Rancher Failed Please check deploy configuration "

My Values

API Endpoint : https://54.163.11.71/v3
Rancher API Key : created API token
Rancher Environment Id: c-br7gl
Service Name: stack/nginx
Docker Image: nginx

Could please guide what’s wrong ? why am getting connection fails

Thanks
Bala

Hi,

Have you solved the issue?

Using a Rancher plugin for 1.6.x is not going to work on Rancher 2.x (v3 API).

1 Like

The redeploy workload plugin should be used instead.