1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/pkg/piperutils
Christopher Fenner 60b7d3a8df
refactor(sonar): implement Sonar step in GO (#1042)
* refactor(sonar): add initial metadata file for GO-based sonar step

* refactor(sonar): add initial generated files for GO-based sonar step

* refactor(sonar): add initial step file for GO-based sonar step

* refactor(sonar): add sonar cmd to executable

* refactor(sonar): cleanup metadata file

* fix(go): use capital TLS in golang names

* add download of Sonar scanner cli

* move download & unzip methods to FileUtils

* download certificate files

* use http.Downloader

* update generated code

* add slice prefix function

* update sonar step

* add test cases

* update docs

* use node:lts image

* use latest sonar-scanner

* add test cases

* use latest sonar-scanner

* fix test case

* change things

* return errors on functions

* limit changeID visibility

* use lowercase scm provider

* add test case for legacy PRs

* add test case

* update docs

* use local temp dir

* extend parameter visibility to GENERAL

* use SONAR_AUTH_TOKEN

* remove comments

* update generated code

* Apply suggestions from code review

* change to private fields

* use setter for sonar options & environment

* remove obsolete return statement

* add comment about Downloader mock

* add test case for custom options

* handle custom options

* refactor slice functions

* fix go fmt

* fix generated step code

* update docs
2020-03-23 10:38:31 +01:00
..
testdata Add functions to infer build tool (#1210) 2020-02-23 16:54:50 +01:00
fileUtils_test.go feat(go): add download file function (#1200) 2020-02-19 19:26:47 +01:00
FileUtils.go refactor(sonar): implement Sonar step in GO (#1042) 2020-03-23 10:38:31 +01:00
projectStructure_test.go Add functions to infer build tool (#1210) 2020-02-23 16:54:50 +01:00
projectStructure.go Add functions to infer build tool (#1210) 2020-02-23 16:54:50 +01:00
slices_test.go refactor(sonar): implement Sonar step in GO (#1042) 2020-03-23 10:38:31 +01:00
slices.go refactor(sonar): implement Sonar step in GO (#1042) 2020-03-23 10:38:31 +01:00
stepResults_test.go Avoid potential collisions among steps (#1141) 2020-02-03 15:25:49 +01:00
stepResults.go Avoid potential collisions among steps (#1141) 2020-02-03 15:25:49 +01:00