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

6
Jenkinsfile vendored
View File

@ -22,8 +22,10 @@ pipeline {
} }
} }
stage('Clean'){ stage('Clean'){
steps{ steps {
sh 'cargo clean' withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
sh 'cargo clean'
}
} }
} }
stage('Build'){ stage('Build'){