ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

The multi branch pipeline will not automatically run based on tag.

Open drzhangg opened this issue 2 years ago • 3 comments
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. Pasted Graphic 19

Relevant log output

No response

Additional information

No response

drzhangg avatar May 25 '23 03:05 drzhangg

可以按照下面步骤解决tag不会自动构建的问题。 1.在jenkins的官网下载Basic Branch Build Strategies | Jenkins plugin插件,需要注意对应的版本,这里我测试的安装1.3.2版本可以,不要安装最新版,否则kubesphere的devops可能会发生错误。 2.具体的插件安装方式可以参考devops jenkins 升级插件以后重启无法正常启动 - KubeSphere 开发者社区 3.插件安装成功,重启jenkins服务后,需要登录jenkins的配置页面修改配置,比如: image 选择Add -> tags

经测试,以上方法可以解决tag不会自动构建的问题

drzhangg avatar May 28 '23 13:05 drzhangg

https://github.com/kubesphere/ks-devops/issues/358

chilianyi avatar Jul 27 '23 06:07 chilianyi