Add env block for build stagw
This commit is contained in:
parent
f2c2d2a18b
commit
4ccaf9976a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -31,10 +31,12 @@ pipeline {
|
||||
stage('Build'){
|
||||
steps {
|
||||
withSonarQubeEnv(installationName: 'grover.local:9000', envOnly: true) {
|
||||
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
|
||||
sh 'cargo build --release'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
stage('SonarQube Analysis') {
|
||||
steps {
|
||||
|
Loading…
Reference in New Issue
Block a user