Add env block for build stagw

This commit is contained in:
Max Nuding 2023-11-10 18:41:23 +01:00
parent f2c2d2a18b
commit 4ccaf9976a
No known key found for this signature in database

2
Jenkinsfile vendored
View File

@ -31,10 +31,12 @@ pipeline {
stage('Build'){ stage('Build'){
steps { steps {
withSonarQubeEnv(installationName: 'grover.local:9000', envOnly: true) { withSonarQubeEnv(installationName: 'grover.local:9000', envOnly: true) {
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
sh 'cargo build --release' sh 'cargo build --release'
} }
} }
} }
}
/* /*
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
steps { steps {