Skip to content

Commit

Permalink
feat:新建/编辑流水线时支持调试流水线 TencentBlueKing#8164 修复查询
Browse files Browse the repository at this point in the history
  • Loading branch information
royalhuang committed Oct 16, 2023
1 parent 30aa229 commit d8b6900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
package com.tencent.devops.common.pipeline.enums

enum class CodeTargetAction(val desc: String) {

COMMIT_TO_MASTER("提交到主干"),
CHECKOUT_BRANCH_AND_REQUEST_MERGE("新建分支创建MR"),
PUSH_BRANCH_AND_REQUEST_MERGE("在原始版本分支创建MR");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import io.swagger.annotations.ApiModelProperty

data class PipelineVersionReleaseRequest(
@ApiModelProperty("版本描述", required = false)
var description: String?,
@ApiModelProperty("模板版本号(为空时默认最新)", required = true)
var targetAction: CodeTargetAction,
var description: String? = null,
@ApiModelProperty("模板版本号(为空时默认最新)", required = false)
var targetAction: CodeTargetAction?,
@ApiModelProperty("标签", required = false)
var labels: List<String> = emptyList(),
@ApiModelProperty("静态流水线组", required = false)
Expand Down

0 comments on commit d8b6900

Please sign in to comment.