{
  "_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" : 16601,
      "buildableTimeMillis" : 16601,
      "buildingDurationMillis" : 45227,
      "executingTimeMillis" : 45227,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 6403,
      "waitingTimeMillis" : 6403
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1090,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
            "branch" : [
              {
                "SHA1" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
                "name" : "origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
            "branch" : [
              {
                "SHA1" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
                "name" : "origin/main"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
        "branch" : [
          {
            "SHA1" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
            "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" : "#1090",
  "duration" : 45227,
  "estimatedDuration" : 57360,
  "executor" : None,
  "fullDisplayName" : "seed #1090",
  "id" : "1090",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 1090,
  "queueId" : 2213004,
  "result" : "SUCCESS",
  "timestamp" : 1760940034572,
  "url" : "https://do.pingcap.net/jenkins/job/seed/1090/",
  "builtOn" : "default-bdcfb",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "tekton/v1/tasks/pingcap-git-clone-ext.yaml",
          "tekton/v1/tasks/pingcap-get-set-release-version-v2.yaml",
          "tekton/v0/tasks/pingcap-git-clone-ext.yaml",
          "scripts/flow/build/versioning-strategy.test.ts",
          "tekton/v0/tasks/pingcap-get-set-release-version-v2.yaml",
          "scripts/flow/build/versioning-strategy.ts"
        ],
        "commitId" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
        "timestamp" : 1760940007000,
        "author" : {
          "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
          "fullName" : "noreply"
        },
        "authorEmail" : "noreply@github.com",
        "comment" : "feat: support builds for  nextgen with git tag events (#3827)\u000a\u000aThis pull request introduces enhanced support for handling \"nextgen\"\u000apre-release tags and improves branch/tag resolution logic in both the\u000aversioning strategy scripts and Tekton pipeline tasks. The changes\u000aensure that \"nextgen\" tags are properly recognized in release workflows\u000aand that version tags are mapped to their most relevant containing\u000abranch during pipeline execution.\u000a\u000a**Versioning logic improvements:**\u000a\u000a* Updated the `isReleaseBranch` function in `versioning-strategy.ts` to\u000arecognize both standard and `nextgen` release branches, ensuring correct\u000aidentification for workflows involving these branches.\u000a* Added logic to the `compute` function in `versioning-strategy.ts` to\u000aexplicitly handle `nextgen` pre-release tags, logging and skipping\u000afurther processing for these versions as intended.\u000a* Expanded unit tests in `versioning-strategy.test.ts` to cover\u000ascenarios involving `nextgen` tags on release and master branches, as\u000awell as commits after such tags, improving test coverage.\u000a\u000a**Tekton pipeline enhancements:**\u000a\u000a* Improved the tag deletion logic in\u000a`pingcap-get-set-release-version-v2.yaml` (both `v0` and `v1`) to\u000arecognize and clean up `nextgen` tags, aligning with updated versioning\u000aconventions.\u000a[[1]](diffhunk://#diff-9904c8dfc5da304d83fed6591586b52d82f83f304bd7641f083791d98fb20451R40-R46)\u000a[[2]](diffhunk://#diff-73a92c7100c05352eb4ee75aaa7114a55cb9ef1ef978218f79bc2b9ad422dbacR40-R46)\u000a* Enhanced the branch resolution logic in `pingcap-git-clone-ext.yaml`\u000a(both `v0` and `v1`) to intelligently map version tags to their\u000acontaining branch based on a priority order: exact minor release branch,\u000aany release branch, master/main, or fallback to the tag itself. This\u000aensures more accurate context for builds triggered by tags.\u000a[[1]](diffhunk://#diff-903e1ace50bb7ba99a3b822e016174019d13883ff31dcba175b633a96334936dR149-L149)\u000a[[2]](diffhunk://#diff-651d163fcc0cbe7eab6f7fda672810ca1a0b2809822f43b595fe32482853a6ebR149-L150)\u000a",
        "date" : "2025-10-20 06:00:07 +0000",
        "id" : "58a3c7b1b4e6f97e7b5c2004e341a444025c0fe8",
        "msg" : "feat: support builds for  nextgen with git tag events (#3827)",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "tekton/v0/tasks/pingcap-get-set-release-version-v2.yaml"
          },
          {
            "editType" : "edit",
            "file" : "tekton/v1/tasks/pingcap-get-set-release-version-v2.yaml"
          },
          {
            "editType" : "edit",
            "file" : "tekton/v0/tasks/pingcap-git-clone-ext.yaml"
          },
          {
            "editType" : "edit",
            "file" : "scripts/flow/build/versioning-strategy.test.ts"
          },
          {
            "editType" : "edit",
            "file" : "tekton/v1/tasks/pingcap-git-clone-ext.yaml"
          },
          {
            "editType" : "edit",
            "file" : "scripts/flow/build/versioning-strategy.ts"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
      "fullName" : "noreply"
    }
  ]
}