去阿里云官网下载对应的版本
root@ubuntu0:/data/jenkins/v1/plugins# wget https://mirrors.aliyun.com/jenkins/plugins/gitlab-plugin/1.5.5/gitlab-plugin.hpi
root@ubuntu0:/data/jenkins/v1/plugins# wget https://mirrors.aliyun.com/jenkins/plugins/gitlab-hook/1.4.2/gitlab-hook.hpi
在重启即可
root@ubuntu0:/data/jenkins/v1/plugins# kubectl rollout restart -n devops deployment jenkins
deployment.apps/jenkins restarted