Custom defined name for the upload on Codecov (#840)

* specify multiple urls on sqlite_orm download stage

* fix bug

* fix bug

* specify multiple urls on opentracing download stage

* fix bug

* specify multiple urls on download stage

* delete jfrog cache

* print jenkins enviroment variables

* print jenkins enviroment variables

* fix check_ccache.sh bug

* debug

* Update Jenkinfile

* Add build enviroment resource limit on Jenkins CI

* remove Jfrog cache build option

* Custom defined name for the upload on Codecov
This commit is contained in:
quicksilver 2019-12-26 20:55:29 +08:00 committed by Jin Hai
parent b140d8259b
commit d606f33eef
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./ci/scripts/output_new.info
flags: unittests
name: ${{ matrix.ubuntu }}-unittests
yml: ./codecov.yaml
centos:
@ -90,5 +90,5 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./ci/scripts/output_new.info
flags: unittests
name: ${{ matrix.centos }}-unittests
yml: ./codecov.yaml

View File

@ -3,7 +3,7 @@ timeout(time: 30, unit: 'MINUTES') {
sh "./coverage.sh -o ${env.MILVUS_INSTALL_PREFIX} -u root -p 123456 -t \$POD_IP"
// Set some env variables so codecov detection script works correctly
withCredentials([[$class: 'StringBinding', credentialsId: "milvus-ci-codecov-token", variable: 'CODECOV_TOKEN']]) {
sh 'curl -s https://codecov.io/bash | bash -s - -f output_new.info || echo "Codecov did not collect coverage reports"'
sh "curl -s https://codecov.io/bash | bash -s - -f output_new.info -n ${BINARY_VERSION}-version-${OS_NAME}-unittest || echo \"Codecov did not collect coverage reports\""
}
}
}