]> source.dussan.org Git - sonarqube.git/blob
15ad59728f8afd71b225162d96466a9d38f8d526
[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.projectName='MyProject'",
52         "-Dsonar.host.url=host",
53         "-Dsonar.login=token",
54       ]
55     }
56   />
57   <p
58     className="big-spacer-top markdown"
59   >
60     <FormattedMessage
61       defaultMessage="onboarding.analysis.docs"
62       id="onboarding.analysis.docs"
63       values={
64         {
65           "link": <withAppStateContext(DocLink)
66             to="/analyzing-source-code/scanners/sonarscanner-for-gradle/"
67           >
68             onboarding.analysis.java.gradle.docs_link
69           </withAppStateContext(DocLink)>,
70         }
71       }
72     />
73   </p>
74   <DoneNextSteps
75     component={
76       {
77         "breadcrumbs": [],
78         "key": "projectKey",
79         "name": "MyProject",
80         "qualifier": "TRK",
81         "qualityGate": {
82           "isDefault": true,
83           "key": "30",
84           "name": "Sonar way",
85         },
86         "qualityProfiles": [
87           {
88             "deleted": false,
89             "key": "my-qp",
90             "language": "ts",
91             "name": "Sonar way",
92           },
93         ],
94         "tags": [],
95       }
96     }
97   />
98 </div>
99 `;