SQ work?
This commit is contained in:
parent
6042fa2fac
commit
63044ece48
26
jenkinsfile
26
jenkinsfile
@ -22,20 +22,22 @@ pipeline {
|
|||||||
rem Output a success message
|
rem Output a success message
|
||||||
echo Resources folder was successfully moved to the dist folder.
|
echo Resources folder was successfully moved to the dist folder.
|
||||||
"""
|
"""
|
||||||
}
|
|
||||||
}
|
}
|
||||||
stage('SCM') {
|
}
|
||||||
steps {
|
stage('SCM') {
|
||||||
checkout scm
|
steps {
|
||||||
}
|
checkout scm
|
||||||
}
|
}
|
||||||
stage('SonarQube Analysis') {
|
}
|
||||||
steps {
|
stage('SonarQube Analysis') {
|
||||||
def scannerHome = tool 'SQ';
|
steps {
|
||||||
withSonarQubeEnv(installationName: 'SQ') {
|
script {
|
||||||
sh "${scannerHome}/bin/sonar-scanner"
|
def scannerHome = tool(name: 'SQ');
|
||||||
}
|
withSonarQubeEnv(installationName: 'SQ') {
|
||||||
}
|
sh "${scannerHome}/bin/sonar-scanner"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user