英文:
Jfrog pipelines throws an error duing sync after step type is updated
问题
我创建了一个流水线源(按照Jfrog流水线开发文档中的步骤),其中包含一个类型为Jenkins的步骤。
- 名称:firstStep
类型:Jenkins
我同步了我的流水线源,同步成功了。
后来,我将步骤类型更新为bash步骤。
- 名称:firstStep
类型:bash
在这次更改后,流水线同步失败,出现以下错误:
无法将步骤firstStep的类型从Jenkins更新为Bash
我在这里错过了什么?
英文:
I created a pipeline source (by following the Jfrog pipeline developer docs for steps) which had a step of type jenkins
- name: firstStep
type: Jenkins
I synced my pipeline source and the sync was successful
Later I updated the step type to be a bash step
- name: firstStep
type: bash
After this change, the pipeline sync fails with the error below:
type cannot be updated from Jenkins to Bash in step firstStep
What am I missing here?
答案1
得分: 1
成功创建并同步步骤后,无法更改该步骤的类型。这不受支持。请参考文档:JFrog Pipeline Steps 获取更多信息。
如果您仍希望步骤类型为 Bash
,则可以尝试将步骤名称更改,它将被添加为新的步骤,而名称为 firstStep
的旧步骤将被删除。
英文:
After a step is created and synced successfully, the type of that step cannot be changed.
This is not supported. Please refer the document: JFrog Pipeline Steps for more information
If you still want the step type to be Bash
then may be you can rename the step name, it will be added as a new step and the old step with name firstStep
will be deleted.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论