]> source.dussan.org Git - sonarqube.git/blob
337c2c5f79a7332efe9c856c3954113b0c78f006
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: linux 1`] = `
4 <Fragment>
5   <DotNetPrereqsScanner />
6   <li
7     className="abs-width-600"
8   >
9     <SentenceWithFilename
10       filename="Jenkinsfile"
11       translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.jenkinsfile_step"
12     />
13     <CodeSnippet
14       snippet="node {
15   stage('SCM') {
16     checkout scm
17   }
18   stage('SonarQube Analysis') {
19     def scannerHome = tool 'SonarScanner for MSBuild'
20     withSonarQubeEnv() {
21       sh "dotnet \${scannerHome}/SonarScanner.MSBuild.dll begin /k:\\"my-project\\""
22       sh "dotnet build"
23       sh "dotnet \${scannerHome}/SonarScanner.MSBuild.dll end"
24     }
25   }
26 }
27 "
28     />
29   </li>
30 </Fragment>
31 `;
32
33 exports[`should render correctly: win 1`] = `
34 <Fragment>
35   <DotNetPrereqsScanner />
36   <li
37     className="abs-width-600"
38   >
39     <SentenceWithFilename
40       filename="Jenkinsfile"
41       translationKey="onboarding.tutorial.with.jenkins.jenkinsfile.jenkinsfile_step"
42     />
43     <CodeSnippet
44       snippet="node {
45   stage('SCM') {
46     checkout scm
47   }
48   stage('SonarQube Analysis') {
49     def scannerHome = tool 'SonarScanner for MSBuild'
50     withSonarQubeEnv() {
51       bat "dotnet \${scannerHome}\\\\SonarScanner.MSBuild.dll begin /k:\\"my-project\\""
52       bat "dotnet build"
53       bat "dotnet \${scannerHome}\\\\SonarScanner.MSBuild.dll end"
54     }
55   }
56 }
57 "
58     />
59   </li>
60 </Fragment>
61 `;