Skip to content

Commit

Permalink
skip docker check. (#1021)
Browse files Browse the repository at this point in the history
* skip docker check.

* bump version to 2.119.1
  • Loading branch information
TingluoHuang authored Jun 15, 2017
1 parent 7acd37d commit beb8dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Agent.Worker/JobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ public async Task<JobInitializeResult> InitializeJob(IExecutionContext jobContex
}

#if !OS_WINDOWS
var containerProvider = HostContext.GetService<IContainerOperationProvider>();
if (!string.IsNullOrEmpty(jobContext.Container.ContainerImage))
{
var containerProvider = HostContext.GetService<IContainerOperationProvider>();
initResult.PreJobSteps.Insert(0, containerProvider.GetContainerStartStep(jobContext));
}
#endif
Expand Down Expand Up @@ -224,6 +224,7 @@ public async Task<JobInitializeResult> InitializeJob(IExecutionContext jobContex
#if !OS_WINDOWS
if (!string.IsNullOrEmpty(jobContext.Container.ContainerImage))
{
var containerProvider = HostContext.GetService<IContainerOperationProvider>();
initResult.PostJobStep.Add(containerProvider.GetContainerStopStep(jobContext));
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.VisualStudio.Services.Agent/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public enum OSPlatform

public static class Agent
{
public static readonly string Version = "2.119.0";
public static readonly string Version = "2.119.1";

#if OS_LINUX
public static readonly OSPlatform Platform = OSPlatform.Linux;
Expand Down

0 comments on commit beb8dd2

Please sign in to comment.