{
  "_class" : "hudson.model.FreeStyleBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "com.cloudbees.jenkins.GitHubPushCause",
          "shortDescription" : "Started by GitHub push by ti-chi-bot[bot]"
        },
        {
          "_class" : "com.cloudbees.jenkins.GitHubPushCause",
          "shortDescription" : "Started by GitHub push by ti-chi-bot[bot]"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 16648,
      "buildableTimeMillis" : 16648,
      "buildingDurationMillis" : 50102,
      "executingTimeMillis" : 50102,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 5351,
      "waitingTimeMillis" : 5351
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1104,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
            "branch" : [
              {
                "SHA1" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
                "name" : "origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
            "branch" : [
              {
                "SHA1" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
                "name" : "origin/main"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
        "branch" : [
          {
            "SHA1" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
            "name" : "origin/main"
          }
        ]
      },
      "remoteUrls" : [
        "https://github.com/PingCAP-QE/ci.git"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#1104",
  "duration" : 50102,
  "estimatedDuration" : 76669,
  "executor" : None,
  "fullDisplayName" : "seed #1104",
  "id" : "1104",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 1104,
  "queueId" : 2245597,
  "result" : "SUCCESS",
  "timestamp" : 1761188755327,
  "url" : "https://do.pingcap.net/jenkins/job/seed/1104/",
  "builtOn" : "default-4jqjs",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "tekton/v0/triggers/triggers/pingcap/tiproxy/git-push.yaml",
          "tekton/v1/triggers/triggers/_/git-create-tag-build-ng.yaml",
          "tekton/v0/triggers/triggers/pingcap/tiproxy/git-create-tag.yaml",
          "tekton/v1/triggers/triggers/_/git-push-branch-build-ng.yaml"
        ],
        "commitId" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
        "timestamp" : 1761188728000,
        "author" : {
          "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
          "fullName" : "noreply"
        },
        "authorEmail" : "noreply@github.com",
        "comment" : "chore(tekton/v1): add release-8.5 branch and tag support for pingcap/ticdc next-gen builds (#3840)\u000a\u000a## Overview\u000aThis PR enables building and pushing next-gen artifacts for\u000a`pingcap/ticdc` on the `release-8.5` branch and on tags, as requested in\u000athe issue.\u000a\u000a## Changes\u000aCreated standalone trigger files for `pingcap/ticdc` in\u000a`tekton/v1/triggers/triggers/pingcap/ticdc/`:\u000a\u000a1. **`git-push-branch-build-ng.yaml`** - Handles branch push events for\u000athe `release-8.5` branch, `master`, and `release-nextgen-*` branches\u000aspecifically for the `pingcap/ticdc` repository.\u000a\u000a2. **`git-create-tag-build-ng.yaml`** - Handles tag creation events for\u000a`pingcap/ticdc` to support both nextgen tags and hotfix tags in the\u000arange [v8.5.4-9, ∞).\u000a\u000a3. **`kustomization.yaml`** - Updated to include the new standalone\u000atrigger files.\u000a\u000a### Implementation Approach\u000aThe triggers are implemented as standalone files following the same\u000apattern as the existing `tikv/tikv` triggers, rather than modifying\u000ashared trigger files. This approach:\u000a- Isolates ticdc-specific configuration\u000a- Avoids impacting other repositories\u000a- Makes maintenance easier\u000a\u000a### Branch Trigger\u000aMatches the following branch patterns for `pingcap/ticdc`:\u000a```yaml\u000abody.repository.full_name == 'pingcap/ticdc'\u000a&&\u000abody.ref.matches('^refs/heads/(master|release-nextgen-[0-9]+|release-8\\.5)$')\u000a```\u000a\u000a### Tag Trigger\u000aSupports two tag formats for `pingcap/ticdc`:\u000a- **Nextgen tags**: `v*.*.*-nextgen.YYMMDD.N` (e.g.,\u000a`v8.5.0-nextgen.241022.1`)\u000a- **Hotfix tags >= v8.5.4-9**: `vX.Y.Z-N` where version >= 8.5.4-9\u000a(e.g., `v8.5.4-9`, `v8.5.5-1`, `v9.0.0-1`)\u000a\u000a## Functionality\u000aWith this change:\u000a1. **Branch builds**: Pushes to the `release-8.5`, `master`, and\u000a`release-nextgen-*` branches in `pingcap/ticdc` will trigger next-gen\u000aartifact builds\u000a2. **Tag builds**: \u000a   - Nextgen tags with pattern `v*.*.*-nextgen.YYMMDD.N` \u000a   - Hotfix/build tags in range [v8.5.4-9, ∞) with pattern `vX.Y.Z-N`\u000a\u000a### Supported Tag Examples\u000a✅ Will trigger builds:\u000a- `v8.5.4-9`, `v8.5.4-10` (exact and above threshold)\u000a- `v8.5.5-1`, `v8.6.0-1` (higher patch/minor versions)\u000a- `v9.0.0-1` and all future versions\u000a- `v8.5.0-nextgen.241022.1` (nextgen format)\u000a\u000a✗ Won't trigger builds:\u000a- `v8.5.4-8` (below threshold)\u000a- `v8.5.3-10` (patch version too low)\u000a\u000a## Build Configuration\u000aWhen triggered, builds will use:\u000a- Profile: `next-gen`\u000a- Registry: `us-docker.pkg.dev/pingcap-testing-account/hub`\u000a- Resources: 4 CPU, 16Gi memory, 50Gi workspace\u000a- Timeout: 20 minutes\u000a- Architectures: amd64 and arm64\u000a\u000a## Validation\u000a- ✅ YAML syntax validated\u000a- ✅ Branch pattern tested: correctly matches `release-8.5`, `master`,\u000aand `release-nextgen-*` for ticdc\u000a- ✅ Tag patterns verified: supports both nextgen and hotfix tag formats\u000a- ✅ Version comparison logic tested with 12 test cases\u000a- ✅ Standalone files follow existing pattern (tikv/tikv)\u000a- ✅ No impact on other repositories\u000a\u000aFixes PingCAP-QE/ci#3838\u000a\u000a<!-- START COPILOT CODING AGENT SUFFIX -->\u000a\u000a\u000a\u000a<details>\u000a\u000a<summary>Original prompt</summary>\u000a\u000a> \u000a> ----\u000a> \u000a> *This section details on the original issue you should resolve*\u000a> \u000a> <issue_title>[Next-Gen] build and push next-gen artifacts for\u000a`pingcap/ticdc` on `release-8.5` branch and on tags.</issue_title>\u000a> <issue_description></issue_description>\u000a> \u000a> <agent_instructions>implement it in `tekton/v1`\u000afolder</agent_instructions>\u000a> \u000a> ## Comments on the Issue (you are @copilot in this section)\u000a> \u000a> <comments>\u000a> </comments>\u000a> \u000a\u000a\u000a</details>\u000a\u000aFixes PingCAP-QE/ci#3838\u000a\u000a<!-- START COPILOT CODING AGENT TIPS -->\u000a---\u000a\u000a\ud83d\udcac We'd love your input! Share your thoughts on Copilot coding agent in\u000aour [2 minute\u000asurvey](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ).\u000a\u000a---------\u000a\u000aCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>\u000aCo-authored-by: wuhuizuo <2574558+wuhuizuo@users.noreply.github.com>\u000aCo-authored-by: wuhuizuo <wuhuizuo@126.com>\u000a",
        "date" : "2025-10-23 03:05:28 +0000",
        "id" : "3c3e9f56093d0a23651a0f6014828f718f12de98",
        "msg" : "chore(tekton/v1): add release-8.5 branch and tag support for",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "tekton/v0/triggers/triggers/pingcap/tiproxy/git-push.yaml"
          },
          {
            "editType" : "edit",
            "file" : "tekton/v1/triggers/triggers/_/git-create-tag-build-ng.yaml"
          },
          {
            "editType" : "edit",
            "file" : "tekton/v0/triggers/triggers/pingcap/tiproxy/git-create-tag.yaml"
          },
          {
            "editType" : "edit",
            "file" : "tekton/v1/triggers/triggers/_/git-push-branch-build-ng.yaml"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
      "fullName" : "noreply"
    }
  ]
}