标签搜索

jenkins根据分支、文件夹打包

cicaba
2023-06-08 / 4 评论 / 12 阅读 / 正在检测是否收录...

Generic Webhook Trigger

配置变量

  1. Post content parameters -> Name of variable = changed_files
  2. Expression = $.commits-1[*]
  3. JSONPath
  4. Post content parameters -> Name of variable = branch
  5. Expression = $.ref
  6. JSONPath
  7. Token (配置token "地址/generic-webhook-trigger/invoke?token=token")

Optional filter

Expression = master(.*"(BawangChaji-UI/)1+?"){1,}
Text = $branch$changed_files

示例


  1. "
0

评论 (4)

取消
  1. 头像
    mlahjstruy
    Windows 10 · Google Chrome

    这篇文章如同一幅色彩斑斓的画卷,每一笔都充满了独特的创意。

    回复
  2. 头像
    vzndhtrvia
    Windows 10 · Google Chrome

    作者以简洁明了的语言,传达了深刻的思想和情感。

    回复
  3. 头像
    jpmeotozrn
    Windows 10 · Google Chrome

    古典诗词化用自然,毫无斧凿痕迹。

    回复
  4. 头像
    omtellqrdg
    Windows 10 · Google Chrome

    作者以简洁明了的语言,传达了深刻的思想和情感。

    回复