1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for 1`] = `
8 "breadcrumbs": Array [],
12 "qualityGate": Object {
17 "qualityProfiles": Array [
30 onboarding.build.other.os
32 name="flavorComponent"
34 optionLabelKey="onboarding.build.other.os"
47 exports[`should render correctly for linux: linux 1`] = `
52 "breadcrumbs": Array [],
56 "qualityGate": Object {
61 "qualityProfiles": Array [
74 onboarding.build.other.os
77 name="flavorComponent"
79 optionLabelKey="onboarding.build.other.os"
89 <CreateJenkinsfileBulletPoint
90 alertTranslationKeyPart="onboarding.tutorial.with.jenkins.jenkinsfile.other.step3"
95 stage('Download Build Wrapper') {
96 sh \\"mkdir -p .sonar\\"
97 sh \\"curl -sSLo build-wrapper-linux-x86.zip nice_url_sample/static/cpp/build-wrapper-linux-x86.zip\\"
98 sh \\"unzip -o build-wrapper-linux-x86.zip -d .sonar\\"
101 sh \\".sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output <your clean build command>\\"
103 stage('SonarQube Analysis') {
104 def scannerHome = tool 'SonarScanner';
106 sh \\"\${scannerHome}/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=bw-output\\"
112 </CreateJenkinsfileBulletPoint>
114 onClick={[MockFunction]}
119 exports[`should render correctly for mac: mac 1`] = `
124 "breadcrumbs": Array [],
128 "qualityGate": Object {
133 "qualityProfiles": Array [
146 onboarding.build.other.os
149 name="flavorComponent"
151 optionLabelKey="onboarding.build.other.os"
161 <CreateJenkinsfileBulletPoint
162 alertTranslationKeyPart="onboarding.tutorial.with.jenkins.jenkinsfile.other.step3"
167 stage('Download Build Wrapper') {
170 curl -sSLo build-wrapper-macosx-x86.zip nice_url_sample/static/cpp/build-wrapper-macosx-x86.zip
171 unzip -o build-wrapper-macosx-x86.zip -d .sonar
176 .sonar/build-wrapper-macosx-x86/build-wrapper-macosx-x86 --out-dir bw-output <your clean build command>
179 stage('SonarQube Analysis') {
180 def scannerHome = tool 'SonarScanner';
182 sh \\"\${scannerHome}/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=bw-output\\"
188 </CreateJenkinsfileBulletPoint>
190 onClick={[MockFunction]}
195 exports[`should render correctly for win: win 1`] = `
200 "breadcrumbs": Array [],
204 "qualityGate": Object {
209 "qualityProfiles": Array [
222 onboarding.build.other.os
225 name="flavorComponent"
227 optionLabelKey="onboarding.build.other.os"
237 <CreateJenkinsfileBulletPoint
238 alertTranslationKeyPart="onboarding.tutorial.with.jenkins.jenkinsfile.other.step3"
243 stage('Download Build Wrapper') {
245 $path = \\"$HOME/.sonar/build-wrapper-win-x86.zip\\"
246 rm build-wrapper-win-x86 -Recurse -Force -ErrorAction SilentlyContinue
247 rm $path -Force -ErrorAction SilentlyContinue
249 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
250 (New-Object System.Net.WebClient).DownloadFile(nice_url_sample/static/cpp/build-wrapper-win-x86.zip\\", $path)
251 Add-Type -AssemblyName System.IO.Compression.FileSystem
252 [System.IO.Compression.ZipFile]::ExtractToDirectory($path, \\"$HOME/.sonar\\")
257 $env:Path += \\";$HOME/.sonar/build-wrapper-win-x86\\"
258 build-wrapper-win-x86-64 --out-dir bw-output <your clean build command>
261 stage('SonarQube Analysis') {
262 def scannerHome = tool 'SonarScanner';
264 powershell \\"\${scannerHome}/bin/sonar-scanner -Dsonar.cfamily.build-wrapper-output=bw-output\\"
270 </CreateJenkinsfileBulletPoint>
272 onClick={[MockFunction]}