You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/08/09 07:05:18 UTC
[plc4x] branch develop updated: - Tried to get the syntax right
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 4e913f8 - Tried to get the syntax right
4e913f8 is described below
commit 4e913f8a5ca196fbcaeeb24de6b47a2354717a9a
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Aug 9 09:05:11 2019 +0200
- Tried to get the syntax right
---
Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 89f3a3f..7219921 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,6 +38,8 @@ pipeline {
MVN_LOCAL_REPO_OPT = '-Dmaven.repo.local=.repository'
// Test failures will be handled by the jenkins junit steps and mark the build as unstable.
MVN_TEST_FAIL_IGNORE = '-Dmaven.test.failure.ignore=true'
+
+ sonarcloudParams="-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_plc4x -Dsonar.branch.name=develop"
}
tools {
@@ -125,7 +127,6 @@ pipeline {
}
steps {
echo 'Checking Code Quality on SonarCloud'
- def sonarcloudParams="-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_plc4x -Dsonar.branch.name=develop"
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 ${sonarcloudParams}'
}