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