{
  "_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" : 17829,
      "buildableTimeMillis" : 17829,
      "buildingDurationMillis" : 56641,
      "executingTimeMillis" : 56641,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 6897,
      "waitingTimeMillis" : 6897
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1386,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "2be41a54202fca6327f594c58220d11ef7834378",
            "branch" : [
              {
                "SHA1" : "2be41a54202fca6327f594c58220d11ef7834378",
                "name" : "origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "2be41a54202fca6327f594c58220d11ef7834378",
            "branch" : [
              {
                "SHA1" : "2be41a54202fca6327f594c58220d11ef7834378",
                "name" : "origin/main"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "2be41a54202fca6327f594c58220d11ef7834378",
        "branch" : [
          {
            "SHA1" : "2be41a54202fca6327f594c58220d11ef7834378",
            "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" : "#1386",
  "duration" : 56641,
  "estimatedDuration" : 51353,
  "executor" : None,
  "fullDisplayName" : "seed #1386",
  "id" : "1386",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 1386,
  "queueId" : 3151282,
  "result" : "SUCCESS",
  "timestamp" : 1769928747102,
  "url" : "https://do.pingcap.net/jenkins/view/all/job/seed/1386/",
  "builtOn" : "default-vw8lv",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "pipelines/pingcap/tidb/release-8.3/pull_unit_test.groovy",
          "pipelines/pingcap/tidb/release-8.0/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-7.6/ghpr_unit_test.groovy",
          "pipelines/tikv/pd/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy",
          "pipelines/pingcap/tidb/release-7.1/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-7.5/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-6.5-with-kv-timeout-feature/ghpr_unit_test.groovy",
          "libraries/tipipeline/vars/prow.groovy",
          "pipelines/tidbcloud/cloud-storage-engine/dedicated/pull_integration_realcluster_test_next_gen/pipeline.groovy",
          "pipelines/pingcap/tidb/release-8.2/pull_unit_test.groovy",
          "pipelines/pingcap/tidb/latest/merged_unit_test.groovy",
          "pipelines/pingcap/tidb/release-7.0/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-6.5-fips/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-7.4/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-6.5/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/latest/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy",
          "pipelines/pingcap/tidb/release-9.0-beta/pull_unit_test.groovy",
          "pipelines/pingcap/tidb/latest/pull_unit_test_next_gen/pipeline.groovy",
          "pipelines/pingcap/tidb/release-8.5/pull_unit_test.groovy",
          "pipelines/pingcap/tidb/release-6.5-20241101-v6.5.7/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-7.3/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-8.4/pull_unit_test.groovy",
          "pipelines/pingcap/tidb/release-7.2/ghpr_unit_test.groovy",
          "pipelines/pingcap/tidb/release-8.1/ghpr_unit_test.groovy"
        ],
        "commitId" : "2be41a54202fca6327f594c58220d11ef7834378",
        "timestamp" : 1769928718000,
        "author" : {
          "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
          "fullName" : "noreply"
        },
        "authorEmail" : "noreply@github.com",
        "comment" : "refactor: encapsulate cloudevents sending into shared function (#4134)\u000a\u000a## Summary\u000a\u000a- Add `sendTestCaseRunReport()` function to `prow.groovy` shared library\u000a- Replace inline curl commands with function call in all pipeline files\u000a- CloudEvents URL centralized:\u000a`https://internal2-do.pingcap.net/cloudevents-server/events`\u000a\u000a## Changes\u000a\u000a### Benefits\u000a- **Reduced code duplication**: ~85% reduction (from 12 lines to 2 lines\u000aper file)\u000a- **Single source of truth**: CloudEvents URL configuration in one place\u000a- **Easier maintenance**: Future URL changes only need one update\u000a- **Cleaner code**: Declarative pipelines remain readable and concise\u000a\u000a### Modified Files\u000a- `libraries/tipipeline/vars/prow.groovy` - Added shared function\u000a- 23 pipeline files - Replaced inline curl with function call\u000a\u000a## Example\u000a\u000a**Before:**\u000a```groovy\u000ash label: 'Send event to cloudevents server', script: \"\"\"timeout 10 \\\\\u000a    curl --verbose --request POST --url https://internal2-do.pingcap.net/cloudevents-server/events \\\\\u000a    --header \"ce-id: \\\\\\$(uuidgen)\" \\\\\u000a    --header \"ce-source: \\\\\\${JENKINS_URL}\" \\\\\u000a    --header 'ce-type: test-case-run-report' \\\\\u000a    --header 'ce-repo: \\\\\\${REFS.org}/\\\\${REFS.repo}' \\\\\u000a    --header 'ce-branch: \\\\\\${REFS.base_ref}' \\\\\u000a    --header \"ce-buildurl: \\\\\\${BUILD_URL}\" \\\\\u000a    --header 'ce-specversion: 1.0' \\\\\u000a    --header 'content-type: application/json; charset=UTF-8' \\\\\u000a    --data @bazel-go-test-problem-cases.json || true\u000a\"\"\"\u000a```\u000a\u000a**After:**\u000a```groovy\u000ascript {\u000a    prow.sendTestCaseRunReport(\"${REFS.org}/${REFS.repo}\", \"${REFS.base_ref}\")\u000a}\u000a```\u000a",
        "date" : "2026-02-01 06:51:58 +0000",
        "id" : "2be41a54202fca6327f594c58220d11ef7834378",
        "msg" : "refactor: encapsulate cloudevents sending into shared function (#4134)",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/latest/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/latest/pull_unit_test_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-6.5/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/latest/merged_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-8.3/pull_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.6/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.2/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "libraries/tipipeline/vars/prow.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.3/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.4/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-8.4/pull_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-9.0-beta/pull_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.5/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-8.5/pull_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/tikv/pd/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/tidbcloud/cloud-storage-engine/dedicated/pull_integration_realcluster_test_next_gen/pipeline.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-8.0/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-6.5-with-kv-timeout-feature/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-8.2/pull_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.1/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-7.0/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-6.5-20241101-v6.5.7/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-6.5-fips/ghpr_unit_test.groovy"
          },
          {
            "editType" : "edit",
            "file" : "pipelines/pingcap/tidb/release-8.1/ghpr_unit_test.groovy"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
      "fullName" : "noreply"
    }
  ]
}