Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 35dce3b

Browse files
author
Michael Sauter
authored
Merge pull request #720 from opendevstack/fix/report-sonar-scanner-stderr
report sonar-scanner stderr
2 parents 6e17f53 + 1186cf8 commit 35dce3b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ listed in the changelog.
1414

1515
- ods.yaml branch trigger patterns must be lowercase ([#713](https://github.com/opendevstack/ods-pipeline/issues/713))
1616

17+
- sonar-scanner invocations stderr not captured ([#719](https://github.com/opendevstack/ods-pipeline/issues/719))
18+
1719
## [0.13.2] - 2023-07-18
1820

1921
### Fixed

cmd/sonar/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func sonarScan(
119119
ctxt.GitCommitSHA,
120120
prInfo,
121121
os.Stdout,
122-
os.Stdin,
122+
os.Stderr,
123123
)
124124
if err != nil {
125125
return fmt.Errorf("scan failed: %w", err)

0 commit comments

Comments
 (0)