diff --git a/src/backend/ci/core/common/common-pipeline-yaml/src/main/kotlin/com/tencent/devops/process/yaml/v3/models/on/SchedulesRule.kt b/src/backend/ci/core/common/common-pipeline-yaml/src/main/kotlin/com/tencent/devops/process/yaml/v3/models/on/SchedulesRule.kt index e2eab504e7a..bf88a91b048 100644 --- a/src/backend/ci/core/common/common-pipeline-yaml/src/main/kotlin/com/tencent/devops/process/yaml/v3/models/on/SchedulesRule.kt +++ b/src/backend/ci/core/common/common-pipeline-yaml/src/main/kotlin/com/tencent/devops/process/yaml/v3/models/on/SchedulesRule.kt @@ -63,6 +63,7 @@ data class SchedulesRule( @JsonIgnore var advanceExpression: List? = null, @get:Schema(title = "start-params") + @JsonProperty("start-params") val startParams: Map? = null ) { data class Interval( diff --git a/src/backend/ci/core/common/common-pipeline-yaml/src/main/resources/schema/V3_0/ci.json b/src/backend/ci/core/common/common-pipeline-yaml/src/main/resources/schema/V3_0/ci.json index 4edadcaff14..3d952f90977 100644 --- a/src/backend/ci/core/common/common-pipeline-yaml/src/main/resources/schema/V3_0/ci.json +++ b/src/backend/ci/core/common/common-pipeline-yaml/src/main/resources/schema/V3_0/ci.json @@ -318,6 +318,9 @@ }, "always" : { "type" : "boolean" + }, + "start-params" : { + "type" : "object" } } } @@ -374,6 +377,9 @@ }, "always" : { "type" : "boolean" + }, + "start-params" : { + "type" : "object" } } } ] @@ -1009,6 +1015,9 @@ }, "always" : { "type" : "boolean" + }, + "start-params" : { + "type" : "object" } } } @@ -1065,6 +1074,9 @@ }, "always" : { "type" : "boolean" + }, + "start-params" : { + "type" : "object" } } } ]