Add environment for cargo
This commit is contained in:
parent
3b72d5a4d7
commit
f2c2d2a18b
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -22,8 +22,10 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Clean'){
|
||||
steps{
|
||||
sh 'cargo clean'
|
||||
steps {
|
||||
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
|
||||
sh 'cargo clean'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build'){
|
||||
|
Loading…
Reference in New Issue
Block a user