You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2021/10/14 19:29:31 UTC

[trafficserver-ci] branch main updated: Update ghprb-toplevel.pipeline

This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new e658070  Update ghprb-toplevel.pipeline
e658070 is described below

commit e6580703d0241b0fa501b738a1d3fdc3d83b90f2
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Thu Oct 14 13:29:25 2021 -0600

    Update ghprb-toplevel.pipeline
---
 jenkins/github/ghprb-toplevel.pipeline | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/jenkins/github/ghprb-toplevel.pipeline b/jenkins/github/ghprb-toplevel.pipeline
index a4332e2..cd8693e 100644
--- a/jenkins/github/ghprb-toplevel.pipeline
+++ b/jenkins/github/ghprb-toplevel.pipeline
@@ -16,9 +16,11 @@ String buildJob(String ghcontext, String jobName) {
         echo "Build of '${jobName}' returned result: ${jobResult}"
 
         if (jobResult == 'SUCCESS') {
-            setGitHubPullRequestStatus(context: ghcontext, message: "Success - ${jobURL}", state: jobResult)
+            //setGitHubPullRequestStatus(context: ghcontext, message: "Success - ${jobURL}", state: jobResult)
+            completedStatus(jobResult, 'Success - ${jobURL}')
         } else {
-            setGitHubPullRequestStatus(context: ghcontext, message: "Failure - ${jobURL}", state: jobResult, targetUrl: "${jobURL}")
+            //setGitHubPullRequestStatus(context: ghcontext, message: "Failure - ${jobURL}", state: jobResult, targetUrl: "${jobURL}")
+            completedStatus(jobResult, 'Failure - ${jobURL}')
         }
         return jobResult
 }