Removed dead code. Commented out QA approval for now.

This commit is contained in:
Christopher Jones 2017-09-06 11:33:44 -05:00
parent 60a6d74586
commit 807a24d22d
2 changed files with 4 additions and 20 deletions

22
Jenkinsfile vendored
View file

@ -6,33 +6,17 @@ pipeline {
maven 'Maven 3.5.0'
}
agent none
agent any
stages {
stage('Build, Test, and Package') {
agent any
steps {
sh "mvn clean package"
}
}
stage('SonarQube analysis') {
agent any
steps {
// jenkins SQ token: 9ba8e3134a1cbc76910a73579a888b5e91df9717
//withSonarQubeEnv('Staging') {
// sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar ' +
// '-f pom.xml ' +
// '-Dsonar.projectKey=com.huettermann:all:master ' +
// '-Dsonar.login=$SONAR_UN ' +
// '-Dsonar.password=$SONAR_PW ' +
// '-Dsonar.language=java ' +
// '-Dsonar.sources=. ' +
// '-Dsonar.tests=. ' +
// '-Dsonar.test.inclusions=**/*Test*/** ' +
// '-Dsonar.exclusions=**/*Test*/**'
//}
script {
scannerHome = tool 'SonarQube_Scanner_3.0.3.778';
}
@ -58,9 +42,9 @@ pipeline {
*/
stage('Approve for QA') {
agent any
steps {
input 'Sally forth?'
// input 'Sally forth?'
echo 'Pipeline done'
}
}
}

View file

@ -14,6 +14,6 @@ sonar.sources=src/main
sonar.sourceEncoding=UTF-8
# other stuff
sonar.host.url=http://sonarqube.kcura.corp/
sonar.host.url=http://mssonarstg81.morningstar.com:9000
sonar.java.binaries=target/classes
sonar.junit.reportsPath=target/surefire-reports