You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/10/24 10:35:44 UTC
[incubator-plc4x] branch master updated: - Tried to re-enable
Sonarqube
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/master by this push:
new d061123 - Tried to re-enable Sonarqube
d061123 is described below
commit d061123945ab3de25fa05000a9ca311477bf7bf8
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Oct 24 11:35:36 2018 +0100
- Tried to re-enable Sonarqube
---
Jenkinsfile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 8e839b0..cae3e3d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -118,7 +118,7 @@ pipeline {
}
// Disabled till auth issues are resolved on infra.
- /*stage('Code Quality') {
+ stage('Code Quality') {
when {
branch 'master'
}
@@ -129,10 +129,12 @@ pipeline {
}
}
steps {
- echo 'Building'
- sh 'mvn -P${JENKINS_PROFILE} sonar:sonar'
+ echo 'Checking Code Quality'
+ withSonarQubeEnv('Apache SonarQube Server') {
+ sh 'mvn -P${JENKINS_PROFILE} sonar:sonar'
+ }
}
- }*/
+ }
stage('Deploy') {
when {