1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/integration
Christopher Fenner cb3fa7c293
feat(sonar): add output of measurements (#2218)
* add sonarqube measurements

* fetch measurements from API

* add api for fetching issue counts

* add debug outputs

* add further severities

* log number of issues

* report failure

* expose method to send request

* Fixed what was broken.

* add debug output

* wip

* correct opaque property

* push client handling to apiClient.go

* use correct API URL

* correct log outputs

* remove logging

* remove option validation

* extend search options

* restructure

* rename api client file

* simplify client usage

* simplify issue client

* write sonar values to influx

* extract issue service

* reorder imports

* add sonar integration test

* allow unknown fields

* add test case

* add test case

* remove

* fix

* Update http.go

* Apply suggestions from code review

* Update cmd/sonarExecuteScan.go

* rework test cases

* use explicit returns

* add task service

* add waitfortask

* fix typo

* remove fixme

* expose poll interval

* rename test cases

* add test cases

* use newAPIClient method

* use waitForTask

* rename services

* finalize code

* handle error

* move defer

* move types

* add test case

* use http.status...

* add test case

* expose api endpoint names

* extract api client

* adjust test cases

* Update integration-tests-pr.yaml

* Update integration-tests.yaml

* improve require message

* Update integration-tests-pr.yaml

* Update integration-tests-pr.yaml
2021-02-24 15:44:23 +01:00
..
testdata Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
contracts_test.go refactor(docs): separate step and docs generator (#2033) 2020-09-23 13:55:17 +02:00
docker_integration_test_executor.go Rewrite nexus 3 Integration Tests (#1902) 2020-08-11 10:28:03 +02:00
integration_api_cli_test.go Provide foundation for integration-like tests (#1131) 2020-02-18 15:19:50 +01:00
integration_api_test.go feat(sonar): add output of measurements (#2218) 2021-02-24 15:44:23 +01:00
integration_cli_test.go chore(go): simplify code using gofmt -s (#2065) 2020-09-24 08:58:53 +02:00
integration_maven_test.go fix typo in fatal message triggered in tests. (#2574) 2021-02-11 14:57:22 +01:00
integration_mta_build_test.go Simplify mta IT (#1901) 2020-08-08 09:09:32 +02:00
integration_nexus_upload_test.go refactor: align parameter name for username (#1960) 2020-09-16 11:33:03 +02:00
integration_npm_execute_scripts_test.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
integration_test.go feat(sonar): add output of measurements (#2218) 2021-02-24 15:44:23 +01:00
integration_vault_test.go Feature/approle secret id rotation (#2311) 2020-11-17 13:49:31 +01:00
piper-command-wrapper.sh Rewrite mta IT using docker cli (#1819) 2020-07-20 18:07:08 +02:00
run-tests.sh Install maven artifacts after mta build (#1641) 2020-06-15 12:46:54 +02:00