Skip to content

Commit

Permalink
Merge pull request #1 from 0xced/teamcity
Browse files Browse the repository at this point in the history
Automatically detect TeamCity
  • Loading branch information
clairernovotny authored May 11, 2021
2 parents da2ba88 + 9e3b525 commit 93daee4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/DotNet.ReproducibleBuilds/DotNet.ReproducibleBuilds.props
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,11 @@
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<!-- TeamCity
https://www.jetbrains.com/help/teamcity/predefined-build-parameters.html#Server+Build+Properties
-->
<PropertyGroup Condition="'$(TEAMCITY_VERSION)' != '' ">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

</Project>

0 comments on commit 93daee4

Please sign in to comment.