ks-devops
ks-devops copied to clipboard
The multi branch pipeline will not automatically run based on tag.
trafficstars
What is version of KubeSphere DevOps has the issue?
v3.4.0
How did you install the Kubernetes? Or what is the Kubernetes distribution?
No response
What happened?
The multi branch pipeline can not automatically run pipeline based on tag.
Relevant log output
No response
Additional information
No response
可以按照下面步骤解决tag不会自动构建的问题。
1.在jenkins的官网下载Basic Branch Build Strategies | Jenkins plugin插件,需要注意对应的版本,这里我测试的安装1.3.2版本可以,不要安装最新版,否则kubesphere的devops可能会发生错误。
2.具体的插件安装方式可以参考devops jenkins 升级插件以后重启无法正常启动 - KubeSphere 开发者社区
3.插件安装成功,重启jenkins服务后,需要登录jenkins的配置页面修改配置,比如:
选择Add -> tags
经测试,以上方法可以解决tag不会自动构建的问题
https://github.com/kubesphere/ks-devops/issues/358