Skip to content

Commit

Permalink
build(plc4go): try removing workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Apr 25, 2023
1 parent 8126062 commit 654e2c8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,8 @@ pipeline {
when {
branch 'develop'
}
environment {
GOPATH = "$WORKSPACE/plc4go:$GOPATH"
}
steps {
echo 'Checking Code Quality on SonarCloud'
// golang coverage workaround
sh 'sed -i -e "s#github.com/apache/plc4x/plc4go#_$WORKSPACE/plc4go#g" plc4go/target/coverage.out'
// and one extra for jenkins :/
sh 'sed -i -e "s#/home/jenkins#/x1/jenkins#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}'
Expand Down

0 comments on commit 654e2c8

Please sign in to comment.