标签搜索

jenkins根据分支、文件夹打包

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

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

评论 (11)

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

    看的我热血沸腾啊

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

    叼茂SEO.bfbikes.com

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

    不错不错,我喜欢看 https://www.ea55.com/

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

    哈哈哈,写的太好了https://www.cscnn.com/

    回复
  5. 头像
    aonudlyeca
    Windows 10 · Google Chrome

    哈哈哈,写的太好了https://www.lawjida.com/

    回复
  6. 头像
    nnibteconk
    Windows 10 · Google Chrome

    文章结构紧凑,层次分明,逻辑严密,让人一读即懂。

    回复
  7. 头像
    pvlmllyyll
    Windows 10 · Google Chrome

    独特的构思和新颖的观点,让这篇文章在众多作品中脱颖而出。

    回复
  8. 头像
    lohhmevtej
    Windows 10 · Google Chrome

    ?总结与建议类?

    回复
  9. 头像
    rahhvvjwyn
    Windows 10 · Google Chrome

    作者以非凡的视角解读平凡,让文字焕发出别样的光彩。

    回复
  10. 头像
    nihtnaiehb
    Windows 10 · Google Chrome

    首尾呼应,主题鲜明,收束有力。

    回复
  11. 头像
    smdtgafgso
    Windows 10 · Google Chrome

    文章紧扣主题,观点鲜明,展现出深刻的思考维度。

    回复