From c401bf7ce75f4418eb856f112469ab05dd125ded Mon Sep 17 00:00:00 2001 From: hejieehe <904696180@qq.com> Date: Wed, 4 Dec 2024 14:14:27 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=AE=9A=E6=97=B6=E8=A7=A6?= =?UTF-8?q?=E5=8F=91=E5=99=A8=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=8F=98=E9=87=8F=20#10617?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../process/yaml/v3/models/on/SchedulesRule.kt | 1 + .../src/main/resources/schema/V3_0/ci.json | 12 ++++++++++++ 2 files changed, 13 insertions(+) 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" } } } ]