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/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 7a58b81 - Continued working on the Jenkinsfile
7a58b81 is described below
commit 7a58b813ad2ef8b59e54bb6622b5efbff1f992ac
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Aug 9 14:02:25 2019 +0200
- Continued working on the Jenkinsfile
---
Jenkinsfile | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 0e76443..14f5db1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -95,6 +95,19 @@ pipeline {
}
}
+ stage('Code Quality') {
+ when {
+ branch 'develop'
+ }
+ steps {
+ echo 'Checking Code Quality on SonarCloud'
+ withCredentials([string(credentialsId:
'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
+ sh 'echo mvn
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies
sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN} -Dsonar.password='
+ sh 'mvn
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies
sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN} -Dsonar.password='
+ }
+ }
+ }
+
stage('Build develop') {
when {
branch 'develop'
@@ -121,18 +134,6 @@ pipeline {
}
}
- stage('Code Quality') {
- when {
- branch 'develop'
- }
- steps {
- echo 'Checking Code Quality on SonarCloud'
- withCredentials([string(credentialsId:
'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
- sh 'mvn
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies
sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN} -Dsonar.password='
- }
- }
- }
-
stage('Deploy') {
when {
branch 'develop'