This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 6f2a37d94 fix: jenkins task name error (#7066)
6f2a37d94 is described below
commit 6f2a37d9418667800ccdc0bca1238fefc431be36
Author: 青湛 <[email protected]>
AuthorDate: Thu Feb 29 23:18:28 2024 +1300
fix: jenkins task name error (#7066)
---
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;