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)
21
21
- Update latest module files from Sampler.
22
22
- Use matrix pipeline strategy.
23
23
- Try using CodeCov CLI
24
+ - Update CodeCov CLI command
24
25
25
26
## [ 2.1.0] - 2022-06-19
26
27
Original file line number Diff line number Diff line change @@ -157,15 +157,14 @@ stages:
157
157
summaryFileLocation : ' $(Build.SourcesDirectory)/$(buildFolderName)/$(testResultFolderName)/JaCoCo_coverage.xml'
158
158
pathToSources : ' $(Build.SourcesDirectory)/$(sourceFolderName)/'
159
159
- 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
161
161
curl -Os https://cli.codecov.io/latest/linux/codecov
162
162
curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
163
163
curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
164
164
gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM
165
-
166
165
shasum -a 256 -c codecov.SHA256SUM
167
166
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)
169
168
displayName: 'Publish Code Coverage to Codecov.io'
170
169
condition: succeededOrFailed()
171
170
You can’t perform that action at this time.
0 commit comments