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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0650944  Moves Code Quality stage into proper palcce
0650944 is described below

commit 0650944e0fd347e9d74d0059ca60aee93abb76d9
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Mon Jan 11 08:53:12 2021 +0100

    Moves Code Quality stage into proper palcce
---
 Jenkinsfile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index bb07e60..e05d54e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,14 +54,14 @@ pipeline {
             }
           }
         }
-      }
-      stage('Code Quality') {
-        when {
-          branch 'master'
-        }
-        steps {
-          withCredentials([string(credentialsId: 'asf-struts-sonarcloud', 
variable: 'SONARCLOUD_TOKEN')]) {
-            sh 'mvn sonar:sonar -DskipAssembly 
-Dsonar.projectKey=apache_struts -Dsonar.organization=apache 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONARCLOUD_TOKEN}'
+        stage('Code Quality') {
+          when {
+            branch 'master'
+          }
+          steps {
+            withCredentials([string(credentialsId: 'asf-struts-sonarcloud', 
variable: 'SONARCLOUD_TOKEN')]) {
+              sh 'mvn sonar:sonar -DskipAssembly 
-Dsonar.projectKey=apache_struts -Dsonar.organization=apache 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONARCLOUD_TOKEN}'
+            }
           }
         }
       }

Reply via email to