1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for 1`] = `
30 className="abs-width-600"
32 onboarding.build.other.os
34 label="onboarding.build.other.os"
36 optionLabelKey="onboarding.build.other.os"
49 exports[`should render correctly for linux: linux 1`] = `
76 className="abs-width-600"
78 onboarding.build.other.os
81 label="onboarding.build.other.os"
83 optionLabelKey="onboarding.build.other.os"
92 <GithubCFamilyExampleRepositories
94 className="big-spacer-top big-spacer-bottom"
98 <CreateJenkinsfileBulletPoint
99 alertTranslationKeyPart="onboarding.tutorial.with.jenkins.jenkinsfile.other.step3"
104 stage('Download Build Wrapper') {
106 sh "curl -sSLo build-wrapper-linux-x86.zip nice_url_sample/static/cpp/build-wrapper-linux-x86.zip"
107 sh "unzip -o build-wrapper-linux-x86.zip -d .sonar"
110 sh ".sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output <your clean build command>"
112 stage('SonarQube Analysis') {
113 def scannerHome = tool 'SonarScanner';
115 sh "\${scannerHome}/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=bw-output"
121 </CreateJenkinsfileBulletPoint>
123 onClick={[MockFunction]}
128 exports[`should render correctly for mac: mac 1`] = `
155 className="abs-width-600"
157 onboarding.build.other.os
160 label="onboarding.build.other.os"
162 optionLabelKey="onboarding.build.other.os"
171 <GithubCFamilyExampleRepositories
173 className="big-spacer-top big-spacer-bottom"
177 <CreateJenkinsfileBulletPoint
178 alertTranslationKeyPart="onboarding.tutorial.with.jenkins.jenkinsfile.other.step3"
183 stage('Download Build Wrapper') {
186 curl -sSLo build-wrapper-macosx-x86.zip nice_url_sample/static/cpp/build-wrapper-macosx-x86.zip
187 unzip -o build-wrapper-macosx-x86.zip -d .sonar
192 .sonar/build-wrapper-macosx-x86/build-wrapper-macosx-x86 --out-dir bw-output <your clean build command>
195 stage('SonarQube Analysis') {
196 def scannerHome = tool 'SonarScanner';
198 sh "\${scannerHome}/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=bw-output"
204 </CreateJenkinsfileBulletPoint>
206 onClick={[MockFunction]}
211 exports[`should render correctly for win: win 1`] = `
238 className="abs-width-600"
240 onboarding.build.other.os
243 label="onboarding.build.other.os"
245 optionLabelKey="onboarding.build.other.os"
254 <GithubCFamilyExampleRepositories
256 className="big-spacer-top big-spacer-bottom"
260 <CreateJenkinsfileBulletPoint
261 alertTranslationKeyPart="onboarding.tutorial.with.jenkins.jenkinsfile.other.step3"
266 stage('Download Build Wrapper') {
268 $path = "$HOME/.sonar/build-wrapper-win-x86.zip"
269 rm build-wrapper-win-x86 -Recurse -Force -ErrorAction SilentlyContinue
270 rm $path -Force -ErrorAction SilentlyContinue
272 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
273 (New-Object System.Net.WebClient).DownloadFile(nice_url_sample/static/cpp/build-wrapper-win-x86.zip", $path)
274 Add-Type -AssemblyName System.IO.Compression.FileSystem
275 [System.IO.Compression.ZipFile]::ExtractToDirectory($path, "$HOME/.sonar")
280 $env:Path += ";$HOME/.sonar/build-wrapper-win-x86"
281 build-wrapper-win-x86-64 --out-dir bw-output <your clean build command>
284 stage('SonarQube Analysis') {
285 def scannerHome = tool 'SonarScanner';
287 powershell "\${scannerHome}/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=bw-output"
293 </CreateJenkinsfileBulletPoint>
295 onClick={[MockFunction]}