Commit 70d5e312 by Administrator

Update Jenkinsfile

parent 847ada52
...@@ -15,28 +15,6 @@ pipeline { ...@@ -15,28 +15,6 @@ pipeline {
) )
} }
stages { stages {
stage('Static code inspection') {
steps {
echo "starting codeAnalyze with SonarQube......"
withSonarQubeEnv('sonarqube') {
sh "/apache-maven-3.6.3/bin/mvn clean sonar:sonar"
}
script {
timeout(1) {
waitForQualityGate abortPipeline: true
}
}
}
post {
success {
sh "/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n 马黎滨 -c 'Code check passed'"
}
failure {
sh "/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n 马黎滨 -c 'Code check failed, please log in http://sonar.zhiweidata.com to view check information'"
}
}
}
stage('build') { stage('build') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment