From 88e18c2db29a8e7efbef0f957386354a17302954 Mon Sep 17 00:00:00 2001 From: purelind Date: Fri, 11 Oct 2024 16:08:46 +0800 Subject: [PATCH] feat: display pr info --- pipelines/tikv/pd/latest/ghpr_build.groovy | 3 +++ pipelines/tikv/pd/latest/pull_integration_copr_test.groovy | 3 +++ .../tikv/pd/latest/pull_integration_realcluster_test.groovy | 3 +++ pipelines/tikv/pd/latest/pull_unit_test.groovy | 3 +++ pipelines/tikv/pd/release-6.5-fips/ghpr_build.groovy | 3 +++ pipelines/tikv/pd/release-6.5/ghpr_build.groovy | 3 +++ pipelines/tikv/pd/release-7.1/ghpr_build.groovy | 3 +++ .../tikv/pd/release-7.1/pull_integration_copr_test.groovy | 3 +++ pipelines/tikv/pd/release-8.1/ghpr_build.groovy | 3 +++ .../tikv/pd/release-8.1/pull_integration_copr_test.groovy | 3 +++ 10 files changed, 30 insertions(+) diff --git a/pipelines/tikv/pd/latest/ghpr_build.groovy b/pipelines/tikv/pd/latest/ghpr_build.groovy index afd1f35d72..945d82d1aa 100644 --- a/pipelines/tikv/pd/latest/ghpr_build.groovy +++ b/pipelines/tikv/pd/latest/ghpr_build.groovy @@ -36,6 +36,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/latest/pull_integration_copr_test.groovy b/pipelines/tikv/pd/latest/pull_integration_copr_test.groovy index b538f4b7a9..5c6011c443 100644 --- a/pipelines/tikv/pd/latest/pull_integration_copr_test.groovy +++ b/pipelines/tikv/pd/latest/pull_integration_copr_test.groovy @@ -35,6 +35,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/latest/pull_integration_realcluster_test.groovy b/pipelines/tikv/pd/latest/pull_integration_realcluster_test.groovy index 2d1f0738de..893bd834ec 100644 --- a/pipelines/tikv/pd/latest/pull_integration_realcluster_test.groovy +++ b/pipelines/tikv/pd/latest/pull_integration_realcluster_test.groovy @@ -33,6 +33,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/latest/pull_unit_test.groovy b/pipelines/tikv/pd/latest/pull_unit_test.groovy index 9b3502c152..fc93b79f92 100644 --- a/pipelines/tikv/pd/latest/pull_unit_test.groovy +++ b/pipelines/tikv/pd/latest/pull_unit_test.groovy @@ -36,6 +36,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/release-6.5-fips/ghpr_build.groovy b/pipelines/tikv/pd/release-6.5-fips/ghpr_build.groovy index 11d240479e..e67245b79f 100644 --- a/pipelines/tikv/pd/release-6.5-fips/ghpr_build.groovy +++ b/pipelines/tikv/pd/release-6.5-fips/ghpr_build.groovy @@ -37,6 +37,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/release-6.5/ghpr_build.groovy b/pipelines/tikv/pd/release-6.5/ghpr_build.groovy index 07dfc8ad18..162c6bf416 100644 --- a/pipelines/tikv/pd/release-6.5/ghpr_build.groovy +++ b/pipelines/tikv/pd/release-6.5/ghpr_build.groovy @@ -36,6 +36,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/release-7.1/ghpr_build.groovy b/pipelines/tikv/pd/release-7.1/ghpr_build.groovy index 2a287b7a9c..cb9ea63e41 100644 --- a/pipelines/tikv/pd/release-7.1/ghpr_build.groovy +++ b/pipelines/tikv/pd/release-7.1/ghpr_build.groovy @@ -36,6 +36,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/release-7.1/pull_integration_copr_test.groovy b/pipelines/tikv/pd/release-7.1/pull_integration_copr_test.groovy index 011837c8ba..6839c8ffef 100644 --- a/pipelines/tikv/pd/release-7.1/pull_integration_copr_test.groovy +++ b/pipelines/tikv/pd/release-7.1/pull_integration_copr_test.groovy @@ -35,6 +35,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/release-8.1/ghpr_build.groovy b/pipelines/tikv/pd/release-8.1/ghpr_build.groovy index 70af46e57b..adab4d8e16 100644 --- a/pipelines/tikv/pd/release-8.1/ghpr_build.groovy +++ b/pipelines/tikv/pd/release-8.1/ghpr_build.groovy @@ -36,6 +36,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } } diff --git a/pipelines/tikv/pd/release-8.1/pull_integration_copr_test.groovy b/pipelines/tikv/pd/release-8.1/pull_integration_copr_test.groovy index b2ab71bfa0..7303cfd512 100644 --- a/pipelines/tikv/pd/release-8.1/pull_integration_copr_test.groovy +++ b/pipelines/tikv/pd/release-8.1/pull_integration_copr_test.groovy @@ -35,6 +35,9 @@ pipeline { """ container(name: 'net-tool') { sh 'dig github.com' + script { + prow.setPRDescription(REFS) + } } } }