You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by fp...@apache.org on 2020/10/05 19:29:02 UTC
[shiro] branch master updated: Move sonar build step to Java 11
pipeline
This is an automated email from the ASF dual-hosted git repository.
fpapon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shiro.git
The following commit(s) were added to refs/heads/master by this push:
new aa2aced Move sonar build step to Java 11 pipeline
new be4f526 Merge pull request #258 from fpapon/sonar
aa2aced is described below
commit aa2acedcae790bf9f36b4eabff2fe91576336b3b
Author: Francois Papon <fp...@apache.org>
AuthorDate: Mon Oct 5 20:56:31 2020 +0200
Move sonar build step to Java 11 pipeline
---
Jenkinsfile | 9 ---------
Jenkinsfile-jdk11 | 9 +++++++++
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 81a93ca..a53d4f8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -88,15 +88,6 @@ pipeline {
}
}
- stage('Code Quality') {
- steps {
- echo 'Checking Code Quality on SonarCloud'
- withCredentials([string(credentialsId: 'sonarcloud-key-apache-shiro', variable: 'SONAR_TOKEN')]) {
- sh 'mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_shiro -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.login=${SONAR_TOKEN}'
- }
- }
- }
-
stage('Generate doc') {
when {
expression {
diff --git a/Jenkinsfile-jdk11 b/Jenkinsfile-jdk11
index 2b3d5ea..ba838ca 100644
--- a/Jenkinsfile-jdk11
+++ b/Jenkinsfile-jdk11
@@ -89,6 +89,15 @@ pipeline {
}
}
+ stage('Code Quality') {
+ steps {
+ echo 'Checking Code Quality on SonarCloud'
+ withCredentials([string(credentialsId: 'sonarcloud-key-apache-shiro', variable: 'SONAR_TOKEN')]) {
+ sh 'mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_shiro -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.login=${SONAR_TOKEN}'
+ }
+ }
+ }
+
stage('Generate doc') {
when {
expression {