You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/02/29 10:04:57 UTC

(incubator-devlake) branch fix-jenkins-task-name created (now 6d24668e7)

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

mintsweet pushed a change to branch fix-jenkins-task-name
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


      at 6d24668e7 fix: jenkins task name error

This branch includes the following new commits:

     new 6d24668e7 fix: jenkins task name error

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-devlake) 01/01: fix: jenkins task name error

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch fix-jenkins-task-name
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 6d24668e716c4f216622a8d78b301f29ba85ddd8
Author: mintsweet <0x...@gmail.com>
AuthorDate: Thu Feb 29 23:04:38 2024 +1300

    fix: jenkins task name error
---
 config-ui/src/routes/pipeline/components/task.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config-ui/src/routes/pipeline/components/task.tsx b/config-ui/src/routes/pipeline/components/task.tsx
index 900b68dab..3f7212042 100644
--- a/config-ui/src/routes/pipeline/components/task.tsx
+++ b/config-ui/src/routes/pipeline/components/task.tsx
@@ -64,9 +64,12 @@ export const PipelineTask = ({ task }: Props) => {
       case ['tapd'].includes(config.plugin):
         name = `${name}:${options.workspaceId}`;
         break;
-      case ['jira', 'jenkins'].includes(config.plugin):
+      case ['jira'].includes(config.plugin):
         name = `${name}:${options.boardId}`;
         break;
+      case ['jenkins'].includes(config.plugin):
+        name = `${name}:${options.fullName}`;
+        break;
       case ['sonarqube'].includes(config.plugin):
         name = `${name}:${options.projectKey}`;
         break;