You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by cd...@apache.org on 2019/01/08 09:08:58 UTC
[incubator-edgent] branch develop updated: - Added SonarQube
environment settings.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-edgent.git
The following commit(s) were added to refs/heads/develop by this push:
new c09b789 - Added SonarQube environment settings.
c09b789 is described below
commit c09b7895e2428db7add19abf16c7368850d3394d
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue Jan 8 10:08:55 2019 +0100
- Added SonarQube environment settings.
---
Jenkinsfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 52bc845..fab451c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -57,7 +57,9 @@ node('ubuntu') {
stage ('Build Edgent') {
echo 'Building Edgent'
- sh "${mvnHome}/bin/mvn ${mavenFailureMode} ${mavenLocalRepo} -Pplatform-android,platform-java7,distribution,toolchain -Djava8.home=${env.JAVA_HOME} -Dedgent.build.ci=true ${mavenGoal}"
+ withSonarQubeEnv('ASF Sonar Analysis') {
+ sh "${mvnHome}/bin/mvn ${mavenFailureMode} ${mavenLocalRepo} -Pplatform-android,platform-java7,distribution,toolchain -Djava8.home=${env.JAVA_HOME} -Dedgent.build.ci=true ${mavenGoal}"
+ }
}
stage ('Build Site') {