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 <[email protected]> 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;
