Skip to content
Permalink
Browse files

Fix SonarQube command line in Jenkins pipeline

  • Loading branch information
gquerret committed Feb 6, 2020
1 parent 6bcb9d8 commit 6ecb92ba9feb873940e4a58e62f4c28000bc6b53
Showing with 2 additions and 2 deletions.
  1. +1 −1 Jenkinsfile
  2. BIN lib/sonarqube-ant-task-2.6.0.1426.jar
  3. +1 −1 sonar.xml
@@ -100,7 +100,7 @@ pipeline {
def jdk = tool name: 'JDK8', type: 'jdk'
def dlc = tool name: 'OpenEdge-11.7', type: 'openedge'
withEnv(["JAVA_HOME=${jdk}"]) {
sh "${antHome}/bin/ant -file sonar.xml -DDLC=${dlc} init-sonar"
sh "${antHome}/bin/ant -lib lib/jacocoant-0.8.4.jar -file sonar.xml -DDLC=${dlc} init-sonar"
}
withEnv(["PATH+SCAN=${tool name: 'SQScanner4', type: 'hudson.plugins.sonar.SonarRunnerInstallation'}/bin"]) {
withSonarQubeEnv('RSSW') {
Binary file not shown.
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<project name="PCT" default="init-sonar" xmlns:sonar="antlib:org.sonar.ant" xmlns:jacoco="antlib:org.jacoco.ant">
<project name="PCT" default="init-sonar" xmlns:jacoco="antlib:org.jacoco.ant">

<target name="init-sonar">
<taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" />

0 comments on commit 6ecb92b

Please sign in to comment.
You can’t perform that action at this time.