How do i get "project key" and

1,579 views
Skip to first unread message

kadam.vi...@gmail.com

unread,
Jul 31, 2017, 8:02:57 AM7/31/17
to SonarQube
Hello,

This is my first time on SonarQube, on getting started on SonarCloud on 5th step it asked me to downloaded and install, and the to perform following command.
 
sonar-scanner \
    -Dsonar.projectKey=your_project_key_that_must_be_unique \
    -Dsonar.sources=. \
    -Dsonar.host.url=https://sonarcloud.io \
    -Dsonar.organization=your_organization_key \
    -Dsonar.login=abcdef0123456789

I did manage to get login (token) from step 2.

but Iam unable to find the projectKey and organization_key.


Thank you, 
in advance.


G. Ann Campbell

unread,
Jul 31, 2017, 9:25:13 AM7/31/17
to SonarQube, kadam.vi...@gmail.com
Hi,

You supply the project key. You'll find your organization key by clicking on your user icon in the top-right corner > My Account > Organizations. You'll see there the organization's name, and it's key. For instance, here's what I see:


Ann
Reply all
Reply to author
Forward
0 new messages