This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch release-v0.21
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.21 by this push:
new 3f5e682b2 fix: jenkins task name error (#7066) (#7077)
3f5e682b2 is described below
commit 3f5e682b291f76b109f8a8f945db05502da1bb03
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Mar 1 09:28:45 2024 +1300
fix: jenkins task name error (#7066) (#7077)
Co-authored-by: 青湛 <[email protected]>
---
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;