3PillarGlobal-Czechia / interview-app-api

API for Interview App.
MIT License
3 stars 1 forks source link

49 devops pipeline doesnt fail when build fails #65

Closed PlesnikJakub closed 2 years ago

PlesnikJakub commented 2 years ago

Summary

This PR implements a fix for the pipeline. Sonarcloud analysis that is wrapped around build in test in analysis job prevents pipeline from falling even if build or tests fail.

To fix this I decided to duplicate the build and tests into a separate job that will be run in parallel with analysis. This will result in failure of the workflow if build or tests fail but it won't run increase time of the whole workflow.

Types of changes

Testing

N/A

Notes

N/A

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information