v2, including containers

This commit is contained in:
Chris Sidi
2020-05-19 22:43:35 -04:00
parent 904eb7df8a
commit fbd859454b
8 changed files with 51 additions and 27 deletions

View File

@@ -46,7 +46,8 @@ namespace GitHub.Runner.Worker
var postJobStep = new JobExtensionRunner(runAsync: this.StopContainersAsync,
condition: $"{PipelineTemplateConstants.Always}()",
displayName: "Stop containers",
data: data);
data: data,
repositoryRef: null);
executionContext.Debug($"Register post job cleanup for stopping/deleting containers.");
executionContext.RegisterPostJobStep(postJobStep);