Skip to content

Commit

Permalink
fix: jenkins task name error (#7066) (#7077)
Browse files Browse the repository at this point in the history
Co-authored-by: 青湛 <0x1304570@gmail.com>
  • Loading branch information
github-actions[bot] and mintsweet authored Feb 29, 2024
1 parent f82045d commit 3f5e682
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config-ui/src/routes/pipeline/components/task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f5e682

Please sign in to comment.