Skip to content

Commit

Permalink
feat:流水线变量语法支持两种风格 #10576
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Sep 25, 2024
1 parent d4e1b0d commit 4dadd44
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ open class MarketAtomTask : ITask() {
val atomCode = taskParams["atomCode"] as String
val atomVersion = taskParams["version"] as String
val data = taskParams["data"] ?: "{}"
logger.info("atom input param data:$data ")
val map = JsonUtil.toMutableMap(data)
// 该插件执行的工作空间绝对路径
val workspacePath = workspace.absolutePath
Expand Down Expand Up @@ -503,6 +504,7 @@ open class MarketAtomTask : ITask() {
)
}
inputMap.forEach { (name, value) ->
logger.info("atom input param origin value:$value")
atomParams[name] = EnvReplacementParser.parse(
value = value,
contextMap = variables,
Expand Down

0 comments on commit 4dadd44

Please sign in to comment.