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'){
|
stage('Clean'){
|
||||||
steps{
|
steps {
|
||||||
sh 'cargo clean'
|
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
|
||||||
|
sh 'cargo clean'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build'){
|
stage('Build'){
|
||||||
|
Loading…
Reference in New Issue
Block a user