]> source.dussan.org Git - sonarqube.git/blob
60f35c80babdbeac895c4bc8c379492fe95d1561
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <li
5   className="abs-width-600"
6 >
7   <SentenceWithFilename
8     filename="Jenkinsfile"
9     translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.jenkinsfile_step"
10   />
11   <Alert
12     className="spacer-top"
13     variant="info"
14   >
15     <p
16       className="text-middle"
17     >
18       <SentenceWithHighlights
19         highlightKeys={
20           Array [
21             "default_msbuild",
22             "default_scanner",
23             "in_jenkins",
24           ]
25         }
26         translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.dotnet.step2.replace"
27       />
28       <HelpTooltip
29         className="little-spacer-left"
30         overlay={
31           <React.Fragment>
32             <p
33               className="spacer-bottom"
34             >
35               <SentenceWithHighlights
36                 highlightKeys={
37                   Array [
38                     "path",
39                   ]
40                 }
41                 translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.dotnet.step2.help1"
42               />
43             </p>
44             <p
45               className="spacer-bottom"
46             >
47               <SentenceWithHighlights
48                 highlightKeys={
49                   Array [
50                     "path",
51                     "name",
52                   ]
53                 }
54                 translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.dotnet.step2.help2"
55               />
56             </p>
57             <p>
58               <SentenceWithHighlights
59                 highlightKeys={
60                   Array [
61                     "path",
62                     "name",
63                   ]
64                 }
65                 translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.dotnet.step2.help3"
66               />
67             </p>
68           </React.Fragment>
69         }
70       />
71     </p>
72   </Alert>
73   <CodeSnippet
74     snippet="node {
75   stage('SCM') {
76     checkout scm
77   }
78   stage('SonarQube Analysis') {
79     def msbuildHome = tool 'Default MSBuild'
80     def scannerHome = tool 'SonarScanner for MSBuild'
81     withSonarQubeEnv() {
82       bat \\"\\\\\\"\${scannerHome}\\\\\\\\SonarScanner.MSBuild.exe\\\\\\" begin /k:\\\\\\"my-project\\\\\\"\\"
83       bat \\"\\\\\\"\${msbuildHome}\\\\\\\\MSBuild.exe\\\\\\" /t:Rebuild\\"
84       bat \\"\\\\\\"\${scannerHome}\\\\\\\\SonarScanner.MSBuild.exe\\\\\\" end\\"
85     }
86   }
87 }
88 "
89   />
90 </li>
91 `;