ks-devops
ks-devops copied to clipboard
Devops Pipeline, choice type parameter, click on the run button, popbox selection interface has been input box
Operating System Information:Centos7 Kubernetes version:v1.21.5 KubeSphere version:v3.2.1
question:Devops Pipeline, choice type parameter, click on the run button, popbox selection interface has been input box.The following figure:
/kind bug
I cannot find the corresponding PRs against this issue. But I'm pretty sure this issue was fixed in v3.3.0. /close
@LinuxSuRen: Closing this issue.
In response to this:
I cannot find the corresponding PRs against this issue. But I'm pretty sure this issue was fixed. /close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
我很确认3.3.0,这个bug依然存在,步骤如下:采用的是1master 2node 重新安装的kubesphere3.3.0, 安装完成后,开启了devops,流水线项目,用的是代码根目录下的Jenkinsfile,第一次创建完时,是没有选项的,运行一次加载后,再次运行就是这样明明是choice,但是实际是个string,唉 两个版本了 还是这样
I'm still not able to reproduce it in v3.3.0. See the following screenshot.
See my sample file:
pipeline {
agent any
stages {
stage('stage-84kwt') {
steps {
echo 'ddd'
}
}
}
parameters {
choice(name: 'Environments', choices: ['dev', 'test', 'pre', 'pre2', 'prod'], description: 'desc')
choice(name: 'ServicesDeploy', choices: ['case-gateway', 'case-auth', 'case-admin', 'case-user', 'case-report', 'case-search', 'case-applet', 'all'], description: 'service')
}
}
Finally, I found out it has problems when this is a multi-branch pipeline. It looks like a front-end issue due to the response from the backend is correct.
/area console
奇怪,这次我完全用了你的pipeline脚本,还是没有出现下拉,这是为什么呢?而且我看社区中也有人提了同样的问题。如下图:
奇怪,这次我完全用了你的pipeline脚本,还是没有出现下拉,这是为什么呢?而且我看社区中也有人提了同样的问题
hi @xiaohezi205
As I mentioned before
/area console
/assign
/kind need-to-verify
Issue fixed in v3.3.1-rc.1