zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

Make SonarCloud work for pull requests with CircleCI #97

Open plavjanik opened 4 years ago

plavjanik commented 4 years ago

Note from Jack:

I just noticed you are using CircleCI. The environment variable CHANGE_ID here https://github.com/zowe/sample-spring-boot-api-service/blob/master/gradle/sonar.gradle#L3 is a Jenkins variable.

For CircleCI, please change to CIRCLE_PR_NUMBER and see if it works or not. Full built-in environment variables list: https://circleci.com/docs/2.0/env-vars/