You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2019/12/10 19:30:46 UTC

[isis] branch master updated: ISIS-2158: CI: adds 'Code Quality' step

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 890059f  ISIS-2158: CI: adds 'Code Quality' step
890059f is described below

commit 890059f4f3191e235781e27ed79e5cd21f2d0bab
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Dec 10 20:30:38 2019 +0100

    ISIS-2158: CI: adds 'Code Quality' step
---
 .github/workflows/ci-build-core-no-push.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/ci-build-core-no-push.yml b/.github/workflows/ci-build-core-no-push.yml
index 4e06c70..874c791 100644
--- a/.github/workflows/ci-build-core-no-push.yml
+++ b/.github/workflows/ci-build-core-no-push.yml
@@ -60,6 +60,17 @@ jobs:
     - name: Build Core
       shell: bash
       run: bash $CI_SCRIPTS_PATH/build-core.sh
+      
+    - name: Code Quality
+      shell: bash
+      run: |
+        mvn verify sonar:sonar \
+        -Dsonar.projectKey=isis_180410 \
+        -Dsonar.organization=apache \
+        -Dsonar.host.url=https://sonarcloud.io \
+        -Dsonar.login=$SONAR_TOKEN
+      env:
+        SONAR_TOKEN: ${{ '9984f4bfa6c86ebf43b2b55ef10c3b72658a1965' }} 
  
 # FOR DEBUG USE
 #   - name: Dump GitHub context