Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
craigthackerx committed Feb 23, 2024
1 parent f65c28f commit 74a4b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/windows-servercore2022/start.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ $wc.DownloadFile($packageUrl, $AgentPath)

Expand-Archive -Path $AgentPath -DestinationPath "C:\agent"
$configCmdPath = Join-Path -Path "C:\agent" -ChildPath "config.cmd"
$runCmdPath = Join-Path -Path "C:\agent" -ChildPath "run.cmd"

try
{
Expand Down Expand Up @@ -93,7 +94,7 @@ try

Print-Header "4. Running Azure Pipelines agent..."

.\run.cmd
pwsh -Command $runCmdPath
}
finally
{
Expand Down

0 comments on commit 74a4b2a

Please sign in to comment.