ci: fix metrics payload join and remove junit step
This commit is contained in:
parent
e3cebc289b
commit
697461d83f
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -220,7 +220,7 @@ const payload = [
|
||||
`typhon_quality_gate_coverage_percent{suite="${suite}",scope="functions"} ${quality.coverage.functions}`,
|
||||
`typhon_quality_gate_coverage_percent{suite="${suite}",scope="branches"} ${quality.coverage.branches}`,
|
||||
''
|
||||
].join('\n');
|
||||
].join('\\n');
|
||||
|
||||
execSync(`curl -fsS --data-binary @- ${gateway}/metrics/job/platform-quality-ci/suite/${suite}`, {
|
||||
input: payload,
|
||||
@ -293,11 +293,6 @@ NODE
|
||||
|
||||
post {
|
||||
always {
|
||||
script {
|
||||
if (fileExists('build/junit-typhon.xml')) {
|
||||
junit allowEmptyResults: true, testResults: 'build/junit-typhon.xml'
|
||||
}
|
||||
}
|
||||
archiveArtifacts artifacts: 'build/**,dist/**,coverage/**', allowEmptyArchive: true, fingerprint: true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user