Skip to content

Commit

Permalink
feat:新建/编辑流水线时支持调试流水线 #8164 修复复制模板实例缺少templateVersion字段
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Aug 6, 2024
1 parent a41f1d0 commit c306839
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ data class PipelineDetail(
val instanceFromTemplate: Boolean,
@get:Schema(title = "当前模板的ID", required = false)
var templateId: String?,
@get:Schema(title = "关联模板版本", required = false)
var templateVersion: Long?,
@get:Schema(title = "草稿或最新的发布版本")
val version: Int,
@get:Schema(title = "草稿或最新的发布版本名称")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class PipelineVersionFacadeService @Autowired constructor(
hasCollect = detailInfo.hasCollect,
instanceFromTemplate = detailInfo.instanceFromTemplate,
templateId = detailInfo.templateId,
templateVersion = detailInfo.templateVersion,
canManualStartup = detailInfo.canManualStartup,
canDebug = canDebug,
canRelease = canRelease,
Expand Down

0 comments on commit c306839

Please sign in to comment.