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'){
|
stage('Build'){
|
||||||
steps {
|
steps {
|
||||||
withSonarQubeEnv(installationName: 'grover.local:9000', envOnly: true) {
|
withSonarQubeEnv(installationName: 'grover.local:9000', envOnly: true) {
|
||||||
|
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
|
||||||
sh 'cargo build --release'
|
sh 'cargo build --release'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
stage('SonarQube Analysis') {
|
stage('SonarQube Analysis') {
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user