1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/pkg/versioning
Jordan Levin 34967c502c
Whitesource scan (MVP) (#1658)
* Whitesource MVP for Gradle, Golang, and NPM/Yarn

* Refactoring

* Refactor and cleanup, better error checking

* publish stepResults, use pkg/versioning, bubble up errors, add gomod versioning support

* Run gofmt and cleanup comments

* Resolve PR comments

* Update resources/metadata/whitesource.yaml

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Only determine project coordinates if they are missing

Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>

* Gradle versioning artifact

* fix gradle artifact version regexp and refactor

* Fix token extraction from output buffer

* Fix some issues with pip and jsonfile versioning logic

* Remove useless spacing

* Remove unnecessary test file and fix naming style for JSONDescriptor

* Automatically download wss-unified-agent if file does not exist

* adds downloadVulnerabilityReport, checkSecurityViolations, minor refactoring

* adds config.ReportDirectoryName, improves readability

* Version-wide reporting for vulnerabilities and list of libraries.

* Refactor and improve build accuracy

* fix sed command

* Add includes file pattern config option

* Adds --exclude command line flag

* run go mod tidy and regenerate step framework

* Fix unit tests

* revert changes

* poll project status before downloading reports

* merge with master

* go mod tidy, go fmt, and fix whitesource unit test

* sync go.mod

* sync go.mod again

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-07-01 07:54:13 +02:00
..
descriptorUtils_test.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
descriptorUtils.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
docker_test.go Docker versioning: fall back to custom (#1484) 2020-04-29 13:42:14 +02:00
docker.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
gomodfile.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
gradle.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
inifile_test.go artifactPrepareVersioning: support more buildTools (#1367) 2020-04-15 13:12:43 +02:00
inifile.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
jsonfile_test.go artifactPrepareVersioning: support more buildTools (#1367) 2020-04-15 13:12:43 +02:00
jsonfile.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
maven_test.go Refactor maven.Evaluate() to take options (#1659) 2020-06-11 14:02:54 +02:00
maven.go Refactor maven.Evaluate() to take options (#1659) 2020-06-11 14:02:54 +02:00
pip_test.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
pip.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
versionfile_test.go artifactPrepareVersioning: support more buildTools (#1367) 2020-04-15 13:12:43 +02:00
versionfile.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
versioning_test.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
versioning.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
yamlfile_test.go Implement YAMLfile.GetCooridnates() (#1604) 2020-05-27 17:20:34 +02:00
yamlfile.go Implement YAMLfile.GetCooridnates() (#1604) 2020-05-27 17:20:34 +02:00