Skip to content

Commit 3617c3a

Browse files
committed
fix job_id
1 parent 388fb46 commit 3617c3a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Actions/UpdateProcessStageAction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ public function execute(StageStateInterface $state, ?Job $job = null, ?Throwable
2929
'job_uuid' => $job?->uuid() ?? $this->stage->job_uuid,
3030
];
3131

32-
if ($state->value != StageState::Failed->value) {
32+
if (
33+
$state->value != StageState::Failed->value &&
34+
$state->value != StageState::Finished->value
35+
) {
3336
$attributes['job_id'] = $job?->getJobId() ?? $this->stage->job_id;
3437
}
3538

0 commit comments

Comments
 (0)