improve jenkins
All checks were successful
Intrepid/Prometeu/Runtime/pipeline/pr-master This commit looks good
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good

This commit is contained in:
bQUARKz 2026-04-08 09:13:46 +01:00
parent 1769f56bcb
commit a4b0006745
Signed by: bquarkz
SSH Key Fingerprint: SHA256:Z7dgqoglWwoK6j6u4QC87OveEq74WOhFN+gitsxtkf8

View File

@ -2,6 +2,9 @@ pipeline {
agent any agent any
environment { environment {
CARGO_HOME = '/var/jenkins_home/.cargo'
CARGO_TARGET_DIR = 'target'
CARGO_TERM_COLOR = 'always' CARGO_TERM_COLOR = 'always'
MIN_LINES = '60' MIN_LINES = '60'
@ -12,7 +15,6 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
script {
sh ''' sh '''
set -eux set -eux
make ci cobertura make ci cobertura
@ -50,7 +52,6 @@ pipeline {
echo "Coverage gate passed." echo "Coverage gate passed."
''' '''
}
// withChecks(name: 'Test', includeStage: true) { // withChecks(name: 'Test', includeStage: true) {
// sh ''' // sh '''
// set -eux // set -eux
@ -77,7 +78,6 @@ pipeline {
stage('Reports') { stage('Reports') {
steps { steps {
script {
publishHTML(target: [ publishHTML(target: [
allowMissing: false, allowMissing: false,
alwaysLinkToLastBuild: true, alwaysLinkToLastBuild: true,
@ -87,7 +87,8 @@ pipeline {
reportName: 'Rust Coverage HTML', reportName: 'Rust Coverage HTML',
reportTitles: 'Coverage Report' reportTitles: 'Coverage Report'
]) ])
}
archiveArtifacts artifacts: 'target/llvm-cov/**', fingerprint: true
} }
} // Reports } // Reports
} }