]> source.dussan.org Git - sonarqube.git/blob
3356e83af9ec7beb797a21925931f6b364ba6b19
[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.4.0.2513\\"
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           Object {
31             "link": <withAppStateContext(DocLink)
32               to="/analysis/scan/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       Array [
49         "./gradlew sonarqube",
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         Object {
64           "link": <withAppStateContext(DocLink)
65             to="/analysis/scan/sonarscanner-for-gradle/"
66           >
67             onboarding.analysis.java.gradle.docs_link
68           </withAppStateContext(DocLink)>,
69         }
70       }
71     />
72   </p>
73   <DoneNextSteps
74     component={
75       Object {
76         "breadcrumbs": Array [],
77         "key": "projectKey",
78         "name": "MyProject",
79         "qualifier": "TRK",
80         "qualityGate": Object {
81           "isDefault": true,
82           "key": "30",
83           "name": "Sonar way",
84         },
85         "qualityProfiles": Array [
86           Object {
87             "deleted": false,
88             "key": "my-qp",
89             "language": "ts",
90             "name": "Sonar way",
91           },
92         ],
93         "tags": Array [],
94       }
95     }
96   />
97 </div>
98 `;