Removed code that has now been pushed into libraries.

This commit is contained in:
Christopher Jones 2017-09-08 09:14:53 -05:00
parent e2cbcba998
commit a9c68de4af

27
Jenkinsfile vendored
View file

@ -14,16 +14,6 @@ pipeline {
stage('SonarQube Analysis') {
steps {
/*
script {
scannerHome = tool 'SonarQube_Scanner_3.0.3.778';
}
withSonarQubeEnv('Staging') {
echo "${scannerHome}"
sh "${scannerHome}/bin/sonar-scanner"
}
*/
startSonarQubeAnalysis "SonarQube_Scanner_3.0.3.778", "Staging", "${env.WORKSPACE}", "sonar-project.properties"
}
}
@ -33,23 +23,6 @@ pipeline {
agent none
steps {
/*
timeout(time: 1, unit: 'HOURS') {
script {
// these are the statuses that we'll allow
def allowableQualityGateStatuses = ['OK', 'WARN']
// we need to wait for the quality check to complete
def qualityGate = waitForQualityGate()
// if the status we got back, isn't one of the logal ones, then
// we need to fail the build
if (!allowableQualityGateStatuses.contains(qualityGate.status)) {
error "Pipeline aborted due to quality gate failure: ${qualityGate.status}"
}
}
}
*/
waitForSonarQubeAnalysis 60, ['OK','WARN']
}
}