diff --git a/build/Tasks/CodeCoverage.cs b/build/Tasks/CodeCoverage.cs index c5f0c6794b..32fbd2c29e 100644 --- a/build/Tasks/CodeCoverage.cs +++ b/build/Tasks/CodeCoverage.cs @@ -59,7 +59,12 @@ public override void Run(Context context) { var settings = new CodecovSettings { - Files = new [] { coverageFile.MakeAbsolute(context.Environment).FullPath } + Files = new [] { coverageFile.MakeAbsolute(context.Environment).FullPath }, + EnvironmentVariables = new Dictionary { + { + "APPVEYOR_BUILD_VERSION", context.EnvironmentVariable("APPVEYOR_BUILD_VERSION") + } + } }; context.Codecov(settings);