perf: 并行任务名称改成添加任务,取消并行,可以在同一个阶段获取上一个task的输出

This commit is contained in:
xiaojunnuo
2024-10-10 13:28:41 +08:00
parent 77cc3c4a5c
commit c5e58770d1
3 changed files with 14 additions and 3 deletions
@@ -23,6 +23,7 @@ export default {
const pipeline = inject("pipeline") as Ref<any>;
const currentStageIndex = inject("currentStageIndex") as Ref<number>;
const currentTaskIndex = inject("currentTaskIndex") as Ref<number>;
const currentStepIndex = inject("currentStepIndex") as Ref<number>;
const currentTask = inject("currentTask") as Ref<any>;
@@ -32,6 +33,7 @@ export default {
options.value = pluginGroups.getPreStepOutputOptions({
pipeline: pipeline.value,
currentStageIndex: currentStageIndex.value,
currentTaskIndex: currentTaskIndex.value,
currentStepIndex: currentStepIndex.value,
currentTask: currentTask.value
});