diff --git a/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabBuildExecutor.cs b/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabBuildExecutor.cs index 1ec8e547..a4c41a8d 100644 --- a/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabBuildExecutor.cs +++ b/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabBuildExecutor.cs @@ -58,6 +58,9 @@ protected override async Task EmitBuildServerSpecificFileAsync( job.Variables = new Dictionary(sourceJob.EnvironmentVariables); job.Needs = sourceJob.Agent.IsManual ? new List() : sourceJob.Needs.ToList(); + // Ensure that older jobs are stopped when replaced with newer ones. + job.Interruptible = true; + if (sourceJob.Agent.Platform == BuildServerJobPlatform.Windows) { job.Tags = new List { "buildgraph-windows" };