mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
11 lines
505 B
Groovy
11 lines
505 B
Groovy
timeout(time: 60, unit: 'MINUTES') {
|
|
dir ("ci/jenkins/scripts") {
|
|
sh "./coverage.sh -o /opt/milvus -u root -p 123456 -t \$POD_IP"
|
|
// Set some env variables so codecov detection script works correctly
|
|
withCredentials([[$class: 'StringBinding', credentialsId: "${env.PIPELINE_NAME}-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"'
|
|
}
|
|
}
|
|
}
|
|
|