File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
<PropertyGroup >
14
14
<_CodecovPath >$(RestorePackagesPath)codecov\$(CodecovVersion)\tools\Codecov.exe</_CodecovPath >
15
15
<_ReportGeneratorPath >$(RestorePackagesPath)reportgenerator\$(ReportGeneratorVersion)\tools\net47\ReportGenerator.exe</_ReportGeneratorPath >
16
- <_BranchName Condition =" '$(_BranchName)' == ''" >$(SYSTEM_PULLREQUEST_TARGETBRANCH )</_BranchName >
16
+ <_BranchName Condition =" '$(_BranchName)' == ''" >$(SYSTEM_PULLREQUEST_SOURCEBRANCH )</_BranchName >
17
17
<_BranchName Condition =" '$(_BranchName)' == ''" >$(BUILD_SOURCEBRANCHNAME)</_BranchName >
18
18
</PropertyGroup >
19
19
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ phases:
41
41
displayName : Run Tests.
42
42
- script : $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet msbuild build/Codecoverage.proj /p:CodeCovToken=$(CODECOV_TOKEN)
43
43
displayName : Upload coverage to codecov.io
44
- condition : eq(variables._codeCoverage, 'true')
44
+ condition : and(succeeded(), eq(variables._codeCoverage, 'true') )
45
45
- task : PublishTestResults@2
46
46
displayName : Publish Test Results
47
47
condition : succeededOrFailed()
You can’t perform that action at this time.
0 commit comments