Skip to content

Commit

Permalink
Trying to do globbing again
Browse files Browse the repository at this point in the history
  • Loading branch information
fhaynes authored and torkleyy committed May 24, 2019
1 parent d804431 commit f11b532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pipeline {
steps {
withCredentials([string(credentialsId: 'codecov_token', variable: 'CODECOV_TOKEN')]) {
echo 'Calculating code coverage...'
sh 'for file in target/debug/amethyst_[a-f0-9]*[^\\.d]; do mkdir -p \"target/cov/$(basename $file)\"; kcov --exclude-pattern=/.cargo,/usr/lib --verify \"target/cov/$(basename $file)\" \"$file\" || true; done'
sh 'for file in target/debug/amethyst_*[^\\.d]; do mkdir -p \"target/cov/$(basename $file)\"; kcov --exclude-pattern=/.cargo,/usr/lib --verify \"target/cov/$(basename $file)\" \"$file\" || true; done'
echo "Uploading coverage..."
sh "curl -s https://codecov.io/bash | bash -s - -t $CODECOV_TOKEN"
echo "Uploaded code coverage!"
Expand Down

0 comments on commit f11b532

Please sign in to comment.