I am not sure what specific kind of integration are you guys looking
for, but I managed to get sonar publishing to work a while ago[1][2].
- There is no requirement to have a centralized "jenkins" sonarcloud org
nor having it connected to "jenkinsci" github org to have projects in
that org validated.
- It does work for master and branches, but cannot work for pull
requests AFAIK. The problem there is travis is injecting the credentials
(so results can be published), but it does not inject that in case the
code comes from out of given repo for security reasons.
[1]
https://github.com/jenkinsci/ws-cleanup-plugin/commit/c7553f470723c4ec0749b49f944ba97cb4a3e230#diff-354f30a63fb0907d4ad57269548329e3
[2]
https://sonarcloud.io/dashboard?id=jenkins_ws-cleanup-plugin
> * Use personal forks for analysis. It nukes all benefits from
> pull requests integration
> * Contact SonarCloud support to allow adding new projects
> without linking the entire organization
> * Use alternate services which have a less greedy requirements
>
> BR, Oleg
>
>
> On Saturday, February 1, 2020 at 11:46:59 PM UTC+1, Oleg
> Nenashev wrote:
>
> Looks like the project IDs are already used for jenkins:
>
https://sonarcloud.io/dashboard?id=jenkins
> "jenkinsci" is a registered organization, I believe. We have
> 3 repos with enabled SonarCloud app:
>
> sonarcloud.PNG
>
> Additionally, apparently I need organisation admin
> permissions on
github.com/jenkinsci
> <
http://github.com/jenkinsci> organisation to be able to
> link it automatically.
>
>
> I am not sure it is something we want. If we add
> organization, all 2000+ Jenkins GitHub org members will be
> added to SonarCloud/
> Not sure we would ever want to do so, and definitely it will
> require a long discussion.
>
> If someone is interested, I manually created an org manually
> for now:
https://sonarcloud.io/organizations/jenkinsci/
> I can add anyone who is interested in evaluation. Mark and
> Stefan were definitely talking about it at the contributor
> summit yesterday...
>
>
>
> On Saturday, February 1, 2020 at 3:10:37 PM UTC+1, Radek
> Antoniuk wrote:
>
> Hey,
>
> I'm trying to hook jira-plugin into SonarCloud, but when
> I'm trying to create jenkins or jenkinsci organisation,
> it shows me that the organisation already exists.
> Additionally, apparently I need organisation admin
> permissions on
github.com/jenkinsci
> <
http://github.com/jenkinsci> organisation to be able to
> <mailto:
jenkinsci-de...@googlegroups.com>.
> <
https://groups.google.com/d/msgid/jenkinsci-dev/372fd43b-a809-4393-8b21-8f0f9858b8bd%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <mailto:
jenkinsci-de...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/jenkinsci-dev/CAPe2pWgqb8NCi4rxufgqc435cAOrhCAegmXwBWkoTp1rYRnudA%40mail.gmail.com
> <
https://groups.google.com/d/msgid/jenkinsci-dev/CAPe2pWgqb8NCi4rxufgqc435cAOrhCAegmXwBWkoTp1rYRnudA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
jenkinsci-de...@googlegroups.com
> <mailto:
jenkinsci-de...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLDGGgwNU5PnGwEinGRd5Jj%2BEv0x64pX0DBheOhArzCj8g%40mail.gmail.com
> <
https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLDGGgwNU5PnGwEinGRd5Jj%2BEv0x64pX0DBheOhArzCj8g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
oliver