Jfrog pipelines在步骤类型更新后同步时出现错误。

huangapple go评论48阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年2月16日 19:08:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/75471374.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定