-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(sonarcloud): Build failed, if non-internal pull-request #10062
Comments
If you want a workaround, you need to write your config like this:
See the docs:
I agree that this could be done in some way in the sonarsource addon, instead of causing us to use a workaround |
Hello, We're moving our community communications to the Travis CI Community Forum and will no longer be supporting GitHub issues. If this hasn't been solved, please go ahead and create a new thread on the Forum and we'll be better able to help you there. We're looking forward to seeing you there. If you need support, you can reach our support team here: support@travis-ci.com. Thanks and happy building! |
Removed sonar-scanner due to security reasons ( travis-ci/travis-ci#10062 ) if the build is an external pull request.
In Travis no secrets are available during Pull Requests. See travis-ci/travis-ci#10062
In Travis no secrets are available during Pull Requests. See travis-ci/travis-ci#10062
In Travis no secrets are available during Pull Requests. See travis-ci/travis-ci#10062
Related issues: #8379, #9791.
1. Summary
If I add to my
.travis.yml
sonarcloud addon and external pull request for my repository:build failed.
I think, that skip sonarcloud step will be better in this case.
2. Data
Part of my
.travis.yml
:3. Steps to reproduce
I add SonarCloud to Travis CI → external user KristinitaTest create a pull request to my repository.
4. Expected behavior
Skip SonarColud step, if external user create a pull request.
5. Actual behavior
Travis CI build failed:
6. Next actions
I add KristinitaTest user to collaborator → KristinitaTest create a pull request again → build successful passed. So I think the problem is not my personal settings.
Thanks.
The text was updated successfully, but these errors were encountered: