Skip to content

Commit

Permalink
Remove plugins directory. (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyKoltsov1997 authored Jul 18, 2024
1 parent 8431dd1 commit 8ae09b0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ USER ContainerAdministrator
RUN mkdir C:\\BuildAgent
COPY TeamCity/buildAgent C:/BuildAgent

# Workaround for TW-87124 - Windows-based plugin directories receive incorrect case, causing their inability ...
# ... to load. The directory will be fetched from the server upon the first update with proper case.
RUN Remove-Item -Recurse -Force C:/BuildAgent/plugins

COPY scripts/*.cs /scripts/
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ USER ContainerAdministrator
RUN mkdir C:\\BuildAgent
COPY TeamCity/buildAgent C:/BuildAgent

# Workaround for TW-87124 - Windows-based plugin directories receive incorrect case, causing their inability ...
# ... to load. The directory will be fetched from the server upon the first update with proper case.
RUN Remove-Item -Recurse -Force C:/BuildAgent/plugins

COPY scripts/*.cs /scripts/
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ USER ContainerAdministrator
RUN mkdir C:\\BuildAgent
COPY TeamCity/buildAgent C:/BuildAgent

# Workaround for TW-87124 - Windows-based plugin directories receive incorrect case, causing their inability ...
# ... to load. The directory will be fetched from the server upon the first update with proper case.
RUN Remove-Item -Recurse -Force C:/BuildAgent/plugins

COPY scripts/*.cs /scripts/
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ USER ContainerAdministrator
RUN mkdir C:\\BuildAgent
COPY TeamCity/buildAgent C:/BuildAgent

# Workaround for TW-87124 - Windows-based plugin directories receive incorrect case, causing their inability ...
# ... to load. The directory will be fetched from the server upon the first update with proper case.
RUN Remove-Item -Recurse -Force C:/BuildAgent/plugins

COPY scripts/*.cs /scripts/
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

Expand Down

0 comments on commit 8ae09b0

Please sign in to comment.