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:58 UTC
(incubator-devlake) 01/01: fix: jenkins task name error
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;