Skip to content
Snippets Groups Projects
Commit c984f823 authored by Jesper Fyhr Knudsen's avatar Jesper Fyhr Knudsen
Browse files

Tasks can no longer be replaced in a job if the current task is already completed

parent 04624774
Branches
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ public class Step
{
Task task = tasks.get(i);
if(task.taskId.equals(taskId))
if(task.taskId.equals(taskId) && task.get_State() != TaskState.Committed)
tasks.set(i, replace);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment