We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.3.1
kubekey
The comments in the Jenkinsfile disappear when returning from graphical pipeline editing, which I believe is a bug that needs to be fixed.
After graphical editing, the content was overwritten directly, so it should be patched instead of overwritten.
No response
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
该问题形成原因:
在流水线配置中编辑jenkinsfile时,pipeline cr那边是通过pipeline.spec.pipeline.jenkinsfile来保存数据,因为数据是直接通过string的格式保存的,所以可以保存注释的信息,在页面显示的时候,直接从spec里获取数据就行了;
当通过流水线图形化形式进行修改时,这时候前端是从pipeline的annotation中获取jenkinsfile数据, 在图形化显示中,对于每个步骤都会有相应的字段来进行保存,因为注释是没有在这里保存的,所以在通过流水线进行修改后,注释就会丢失。
大概的解决方案: 前端在通过流水线图形化形式进行修改时,针对注释的地方,专门添加一个字段来进行保存注释的值(但是如果注释放的地方很随意,比如放到一个stag的第一行或者最后一行,会比较难处理它的位置)
yudong2015
No branches or pull requests
What is version of KubeSphere DevOps has the issue?
v3.3.1
How did you install the Kubernetes? Or what is the Kubernetes distribution?
kubekey
What happened?
The comments in the Jenkinsfile disappear when returning from graphical pipeline editing, which I believe is a bug that needs to be fixed.
After graphical editing, the content was overwritten directly, so it should be patched instead of overwritten.
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: