Skip to content

Commit 6f4f530

Browse files
committed
ci: fix sonar cloud stage recording issues twice
1 parent 6105e54 commit 6f4f530

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

vars/runJenkinsPipeline.groovy

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,6 @@ def call(){
332332
}
333333
}
334334
post {
335-
always{
336-
script{
337-
if(fileExists('reports/sonar-report.json')){
338-
stash includes: 'reports/sonar-report.json', name: 'SONAR_REPORT'
339-
archiveArtifacts allowEmptyArchive: true, artifacts: 'reports/sonar-report.json'
340-
recordIssues(tools: [sonarQube(pattern: 'reports/sonar-report.json')])
341-
}
342-
}
343-
}
344335
cleanup{
345336
cleanWs(
346337
deleteDirs: true,

0 commit comments

Comments
 (0)