File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md)
2121 - Update latest module files from Sampler.
2222 - Use matrix pipeline strategy.
2323 - Try using CodeCov CLI
24+ - Update CodeCov CLI command
2425
2526## [ 2.1.0] - 2022-06-19
2627
Original file line number Diff line number Diff line change @@ -157,15 +157,14 @@ stages:
157157 summaryFileLocation : ' $(Build.SourcesDirectory)/$(buildFolderName)/$(testResultFolderName)/JaCoCo_coverage.xml'
158158 pathToSources : ' $(Build.SourcesDirectory)/$(sourceFolderName)/'
159159 - script : |
160- curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg -- import # One-time step
160+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import
161161 curl -Os https://cli.codecov.io/latest/linux/codecov
162162 curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
163163 curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
164164 gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM
165-
166165 shasum -a 256 -c codecov.SHA256SUM
167166 chmod +x codecov
168- ./codecov do-upload -f "./$(buildFolderName)/$(testResultFolderName)/JaCoCo_coverage.xml"
167+ ./codecov do-upload -f "./$(buildFolderName)/$(testResultFolderName)/JaCoCo_coverage.xml" -t $(CODECOV_TOKEN)
169168 displayName: 'Publish Code Coverage to Codecov.io'
170169 condition: succeededOrFailed()
171170
You can’t perform that action at this time.
0 commit comments