kubesphere / kubesphere/ks-devops

自己通过ClusterTemplate添加的模板不是声明式时(脚本式)后创建流水线后返回did not contain the 'pipeline'

Open
#901 11 comments 0 reactions 0 assignees View on GitHub
kind/support
Dominant language
Go
Stars
164
Forks
140
PR merge metrics
No merged PRs in 30d

Description

### What is version of KubeSphere DevOps has the issue?

3.3.1

### How did you install the Kubernetes? Or what is the Kubernetes distribution?

通过kk 安装

### What happened?

自己通过ClusterTemplate添加的模板不是声明式时(脚本式)后创建流水线后返回did not contain the 'pipeline' step"错误,且流水线没有被创建。应该直接保存并返回到jenkinsfile即可
![image](https://user-images.githubusercontent.com/23556204/217488038-c4a2a251-0559-4258-8855-49b142cc54ab.png)

### Relevant log output

_No response_

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing pipeline creation with a script-based template added through ClusterTemplate in KubeSphere DevOps 3.3.1. Trace the path that rejects the template with the missing 'pipeline' step error, then verify that the pipeline is saved and the Jenkinsfile is returned instead.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.