JetBrains / teamcity-azure-agent

TeamCity support for Azure cloud build agents
Apache License 2.0
48 stars 22 forks source link

File read with sudo was not used as fallback #107

Closed dtretyakov closed 5 years ago

dtretyakov commented 5 years ago

With specific set of file permissions on build agent machine sudo read is not executed on Linux build agents and as result build agent could not fetch configuration parameters.

We could try using sudo read on Linux machines as a fallback in case of empty file contents received by regular reader and exceptions happend during read operation.

dtretyakov commented 5 years ago

Relates to https://github.com/JetBrains/teamcity-azure-agent/pull/106