You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2021/10/08 17:28:20 UTC

[trafficserver-ci] branch main updated: Set github downstream job display names (#56)

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

bneradt 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 0bcc4bd  Set github downstream job display names (#56)
0bcc4bd is described below

commit 0bcc4bdb0a36aed51fe8077289598e5728d38fcd
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Fri Oct 8 12:27:37 2021 -0500

    Set github downstream job display names (#56)
---
 jenkins/github/toplevel.pipeline | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jenkins/github/toplevel.pipeline b/jenkins/github/toplevel.pipeline
index 09c731a..38049a2 100644
--- a/jenkins/github/toplevel.pipeline
+++ b/jenkins/github/toplevel.pipeline
@@ -8,6 +8,7 @@ String buildJob(String ghcontext, String jobName) {
         }
         currentBuild.displayName = "PR: #${GITHUB_PR_NUMBER} - Build: #${BUILD_NUMBER}"
         def jobBuild = build job: jobName, propagate: false, parameters: [string(name: 'SHA1', value: GITHUB_PR_HEAD_SHA), string(name: 'GITHUB_URL', value: GITHUB_REPO_GIT_URL), string(name: 'GITHUB_PR_NUMBER', value: GITHUB_PR_NUMBER), string(name:'GITHUB_PR_TARGET_BRANCH', value: GITHUB_PR_TARGET_BRANCH)]
+        jobBuild.setDisplayName("Github PR #${GITHUB_PR_NUMBER}: ${GITHUB_PR_TITLE}")
         def jobURL = jobBuild.getAbsoluteUrl()
         currentBuild.description += " ${jobName} - <a href=${jobURL}>${jobURL}</a> <br>"