You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/04/24 16:08:04 UTC
[plc4x] branch develop updated: build(plc4go): using sed to manipulate coverage.out
This is an automated email from the ASF dual-hosted git repository.
sruehl 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 5d64b31127 build(plc4go): using sed to manipulate coverage.out
5d64b31127 is described below
commit 5d64b31127fee0c75d90695117a6a7aa3fb0ac5b
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Mon Apr 24 18:07:54 2023 +0200
build(plc4go): using sed to manipulate coverage.out
---
Jenkinsfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5ab22d9a99..5f26f3c7e3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -140,8 +140,7 @@ pipeline {
steps {
echo 'Checking Code Quality on SonarCloud'
// golang coverage workaround
- sh 'mkdir -p $GOPATH/src/github.com/apache/plc4x'
- sh 'ln -s $WORKSPACE/plc4go $GOPATH/src/github.com/apache/plc4x/plc4go'
+ sh 'sed -i -e "s#github.com/apache/plc4x/plc4go#plc4go#g" plc4go/target/coverage.out'
withCredentials([string(credentialsId: 'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
//sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-python,with-proxies,with-sandbox sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-sandbox sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'