eclipse-archived / antenna

SW360 Antenna project
Other
22 stars 19 forks source link

Make Compliance Tool fail if an artifact is not uploaded correctly #595

Closed nnobelis closed 4 years ago

nnobelis commented 4 years ago

Signed-off-by: Nicolas Nobelis nicolas.nobelis@bosch.io

Please provide a summary of your changes here.

Change the logic of SW360Update to fail on exception. Adapt tests and create new one.

  • Which issue is this pull request belonging to? (Refer to issue here)

https://github.com/eclipse/antenna/issues/575

  • How is it solving the issue?
  • Did you add or update any new dependencies that are required for your change?

Request Reviewer

@neubs-bsi @oheger-bosch

Type of Change

bug fix

How Has This Been Tested?

New test class SW360UpdaterTestWithFailure

Checklist

Must:

Optional: (delete if not applicable)

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 2 Code Smells

95.8% 95.8% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_265) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11. Read more here