Add environment for cargo

This commit is contained in:
Max Nuding 2023-11-10 18:32:32 +01:00
parent 3b72d5a4d7
commit f2c2d2a18b
No known key found for this signature in database

4
Jenkinsfile vendored
View File

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