Keep PBX at v0 and simplify Jenkins quality gate
Intrepid/Prometeu/Runtime/pipeline/pr-master There was a failure building this commit

This commit is contained in:
2026-10-14 14:35:44 +01:00
parent 39468740c3
commit a2275932a5
51 changed files with 155 additions and 297 deletions
+34 -10
View File
@@ -5,12 +5,12 @@ pipeline {
CARGO_HOME = '/var/jenkins_home/.cargo'
CARGO_TARGET_DIR = 'target'
CARGO_TERM_COLOR = 'always'
PATH = "${CARGO_HOME}/bin:${env.PATH}"
}
stages {
stage('Prepare reports') {
steps {
dir('target/quality-gate') { deleteDir() }
dir('target/llvm-cov') { deleteDir() }
}
}
@@ -23,20 +23,44 @@ pipeline {
'''
}
}
stage('Quality gate') {
steps {
sh '''
set -eu
export PATH="$CARGO_HOME/bin:$PATH"
make ci-domains
'''
}
stage('Clean coverage') {
steps { sh 'make -j1 clean' }
}
stage('Formatting') {
steps { sh 'make -j1 fmt-check' }
}
stage('Clippy') {
steps { sh 'make -j1 clippy' }
}
stage('Workspace tests') {
steps { sh 'make -j1 test-local' }
}
stage('Debugger socket tests') {
steps { sh 'make -j1 test-debugger-socket' }
}
stage('Coverage') {
steps { sh 'make -j1 coverage' }
}
stage('Coverage JSON') {
steps { sh 'make -j1 coverage-report-json' }
}
stage('Cobertura') {
steps { sh 'make -j1 coverage-xml' }
}
stage('Coverage summary') {
steps { sh 'make -j1 coverage-json' }
}
stage('Coverage ownership audit') {
steps { sh 'make -j1 coverage-domain-audit' }
}
stage('Coverage domain floors') {
steps { sh 'make -j1 coverage-domain-gate' }
}
}
post {
always {
archiveArtifacts artifacts: 'target/quality-gate/**,target/llvm-cov/**',
archiveArtifacts artifacts: 'target/llvm-cov/**',
fingerprint: true, allowEmptyArchive: true
publishHTML(target: [
allowMissing: true,