【问题标题】:CodeMagic Automatic build is not triggered though it receives the webhook from githubCodeMagic 自动构建虽然从 github 接收到 webhook,但不会触发
【发布时间】:2021-12-04 15:19:46
【问题描述】:

虽然它从 github 接收 webhook,但不会触发自动构建。任何输入都会有所帮助。

codemagic.yml sn-p

ionic-capacitor-android-app-qa:
    name: tulip-fp
    environment:
      node: latest
    triggering:
      events:
        - tag
      branch_patterns:
        - pattern: “uat”
          include: true
          source: true
      tag_patterns:
        - pattern: “*”
          include: true
....

近期交货:

【问题讨论】:

  • 我使用过#codemagic,这里是解决方案 - 1> 将“uat”更改为“uat”。基本上在模式中使用单引号 2> 还要确保在 github 的 webhook 配置中,“push”触发器被选中。

标签: codemagic


【解决方案1】:

我使用过#codemagic,这里是解决方案 -

  1. 将“uat”更改为“uat”。基本上在模式中使用单引号
  2. 还要确保在 GitHub 的 WebHook 配置中选中“推送”触发器。
ionic-capacitor-android-app-qa:
    name: tulip-fp
    environment:
      node: latest
    triggering:
      events:
        - tag
        - push
      branch_patterns:
        - pattern: 'uat'
          include: true
          source: true
      tag_patterns:
        - pattern: '*'
          include: true

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-07-15
    • 2021-05-16
    • 2019-09-03
    • 1970-01-01
    • 1970-01-01
    • 2012-03-05
    • 2020-10-24
    • 2017-04-19
    相关资源
    最近更新 更多