]> source.dussan.org Git - sonarqube.git/blob
e9fb519228251893f689ca5b2adb4a2a74fdfae7
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly 1`] = `
4 <div>
5   <h4
6     className="spacer-bottom"
7   >
8     onboarding.analysis.java.gradle.header
9   </h4>
10   <InstanceMessage
11     message="onboarding.analysis.java.gradle.text.1"
12   >
13     <Component />
14   </InstanceMessage>
15   <CodeSnippet
16     snippet="plugins {
17   id "org.sonarqube" version "3.5.0.2730"
18 }"
19   />
20   <p
21     className="big-spacer-bottom markdown"
22   >
23     <em
24       className="small text-muted"
25     >
26       <FormattedMessage
27         defaultMessage="onboarding.analysis.java.gradle.latest_version"
28         id="onboarding.analysis.java.gradle.latest_version"
29         values={
30           {
31             "link": <withAppStateContext(DocLink)
32               to="/analyzing-source-code/scanners/sonarscanner-for-gradle/"
33             >
34               here
35             </withAppStateContext(DocLink)>,
36           }
37         }
38       />
39     </em>
40   </p>
41   <p
42     className="spacer-top spacer-bottom markdown"
43   >
44     onboarding.analysis.java.gradle.text.2
45   </p>
46   <CodeSnippet
47     snippet={
48       [
49         "./gradlew sonar",
50         "-Dsonar.projectKey=projectKey",
51         "-Dsonar.host.url=host",
52         "-Dsonar.login=token",
53       ]
54     }
55   />
56   <p
57     className="big-spacer-top markdown"
58   >
59     <FormattedMessage
60       defaultMessage="onboarding.analysis.docs"
61       id="onboarding.analysis.docs"
62       values={
63         {
64           "link": <withAppStateContext(DocLink)
65             to="/analyzing-source-code/scanners/sonarscanner-for-gradle/"
66           >
67             onboarding.analysis.java.gradle.docs_link
68           </withAppStateContext(DocLink)>,
69         }
70       }
71     />
72   </p>
73   <DoneNextSteps
74     component={
75       {
76         "breadcrumbs": [],
77         "key": "projectKey",
78         "name": "MyProject",
79         "qualifier": "TRK",
80         "qualityGate": {
81           "isDefault": true,
82           "key": "30",
83           "name": "Sonar way",
84         },
85         "qualityProfiles": [
86           {
87             "deleted": false,
88             "key": "my-qp",
89             "language": "ts",
90             "name": "Sonar way",
91           },
92         ],
93         "tags": [],
94       }
95     }
96   />
97 </div>
98 `;