]> source.dussan.org Git - sonarqube.git/blob
2ae0900ed2dfe4ca0fecdf8a8b30be4971df1c3c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux arm64: download scanner 1`] = `
4 "export SONAR_SCANNER_VERSION=6.0.0.4432
5 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION
6 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION.zip
7 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
8 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
9 export SONAR_SCANNER_OPTS="-server"
10 "
11 `;
12
13 exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux arm64: execute scanner 1`] = `
14 "sonar-scanner \\
15   -Dsonar.projectKey=my-project \\
16   -Dsonar.sources=. \\
17   -Dsonar.host.url=http://localhost:9000"
18 `;
19
20 exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux: download scanner 1`] = `
21 "export SONAR_SCANNER_VERSION=6.0.0.4432
22 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
23 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
24 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
25 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
26 export SONAR_SCANNER_OPTS="-server"
27 "
28 `;
29
30 exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux: execute scanner 1`] = `
31 "sonar-scanner \\
32   -Dsonar.projectKey=my-project \\
33   -Dsonar.sources=. \\
34   -Dsonar.host.url=http://localhost:9000"
35 `;
36
37 exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux: execute scanner 2`] = `
38 "export SONAR_SCANNER_VERSION=6.0.0.4432
39 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
40 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
41 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
42 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
43 export SONAR_SCANNER_OPTS="-server"
44 "
45 `;
46
47 exports[`can choose build tools and copy provided settings: c++ (automatic) and other macos: execute scanner 1`] = `
48 "sonar-scanner \\
49   -Dsonar.projectKey=my-project \\
50   -Dsonar.sources=. \\
51   -Dsonar.host.url=http://localhost:9000"
52 `;
53
54 exports[`can choose build tools and copy provided settings: c++ (automatic) and other macos: execute scanner 2`] = `
55 "export SONAR_SCANNER_VERSION=6.0.0.4432
56 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx
57 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx.zip
58 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
59 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
60 export SONAR_SCANNER_OPTS="-server"
61 "
62 `;
63
64 exports[`can choose build tools and copy provided settings: c++ (automatic) and other windows: execute scanner 1`] = `"sonar-scanner.bat -D"sonar.projectKey=my-project" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000""`;
65
66 exports[`can choose build tools and copy provided settings: c++ (automatic) and other windows: execute scanner 2`] = `
67 "$env:SONAR_SCANNER_VERSION = "6.0.0.4432"
68 $env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar")
69 $env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows"
70 rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue
71 New-Item -path $env:SONAR_SCANNER_HOME -type directory
72 (New-Object System.Net.WebClient).DownloadFile("https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$env:SONAR_SCANNER_VERSION-windows.zip", "$env:SONAR_DIRECTORY/sonar-scanner.zip")
73 Add-Type -AssemblyName System.IO.Compression.FileSystem
74 [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/sonar-scanner.zip", "$env:SONAR_DIRECTORY")
75 rm ./.sonar/sonar-scanner.zip -Force -ErrorAction SilentlyContinue
76 $env:Path += ";$env:SONAR_SCANNER_HOME/bin"
77 $env:SONAR_SCANNER_OPTS="-server"
78 "
79 `;
80
81 exports[`can choose build tools and copy provided settings: c++ (manual) linux arm64: download build wrapper 1`] = `
82 "curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-aarch64.zip http://localhost:9000/static/cpp/build-wrapper-linux-aarch64.zip
83 unzip -o $HOME/.sonar/build-wrapper-linux-aarch64.zip -d $HOME/.sonar/
84 export PATH=$HOME/.sonar/build-wrapper-linux-aarch64:$PATH
85 "
86 `;
87
88 exports[`can choose build tools and copy provided settings: c++ (manual) linux arm64: download scanner 1`] = `
89 "export SONAR_SCANNER_VERSION=6.0.0.4432
90 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION
91 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION.zip
92 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
93 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
94 export SONAR_SCANNER_OPTS="-server"
95 "
96 `;
97
98 exports[`can choose build tools and copy provided settings: c++ (manual) linux arm64: execute build wrapper 1`] = `"build-wrapper-linux-aarch64 --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
99
100 exports[`can choose build tools and copy provided settings: c++ (manual) linux arm64: execute scanner 1`] = `
101 "sonar-scanner \\
102   -Dsonar.projectKey=my-project \\
103   -Dsonar.sources=. \\
104   -Dsonar.cfamily.compile-commands=bw-output/compile_commands.json \\
105   -Dsonar.host.url=http://localhost:9000"
106 `;
107
108 exports[`can choose build tools and copy provided settings: c++ (manual) linux: download build wrapper 1`] = `
109 "curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip http://localhost:9000/static/cpp/build-wrapper-linux-x86.zip
110 unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/
111 export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH
112 "
113 `;
114
115 exports[`can choose build tools and copy provided settings: c++ (manual) linux: download scanner 1`] = `
116 "export SONAR_SCANNER_VERSION=6.0.0.4432
117 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
118 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
119 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
120 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
121 export SONAR_SCANNER_OPTS="-server"
122 "
123 `;
124
125 exports[`can choose build tools and copy provided settings: c++ (manual) linux: execute build wrapper 1`] = `"build-wrapper-linux-x86-64 --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
126
127 exports[`can choose build tools and copy provided settings: c++ (manual) linux: execute scanner 1`] = `
128 "sonar-scanner \\
129   -Dsonar.projectKey=my-project \\
130   -Dsonar.sources=. \\
131   -Dsonar.cfamily.compile-commands=bw-output/compile_commands.json \\
132   -Dsonar.host.url=http://localhost:9000"
133 `;
134
135 exports[`can choose build tools and copy provided settings: c++ (manual) macos: download build wrapper 1`] = `
136 "curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-macosx-x86.zip http://localhost:9000/static/cpp/build-wrapper-macosx-x86.zip
137 unzip -o $HOME/.sonar/build-wrapper-macosx-x86.zip -d $HOME/.sonar/
138 export PATH=$HOME/.sonar/build-wrapper-macosx-x86:$PATH
139 "
140 `;
141
142 exports[`can choose build tools and copy provided settings: c++ (manual) macos: download scanner 1`] = `
143 "export SONAR_SCANNER_VERSION=6.0.0.4432
144 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx
145 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx.zip
146 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
147 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
148 export SONAR_SCANNER_OPTS="-server"
149 "
150 `;
151
152 exports[`can choose build tools and copy provided settings: c++ (manual) macos: execute build wrapper 1`] = `"build-wrapper-macosx-x86 --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
153
154 exports[`can choose build tools and copy provided settings: c++ (manual) macos: execute scanner 1`] = `
155 "sonar-scanner \\
156   -Dsonar.projectKey=my-project \\
157   -Dsonar.sources=. \\
158   -Dsonar.cfamily.compile-commands=bw-output/compile_commands.json \\
159   -Dsonar.host.url=http://localhost:9000"
160 `;
161
162 exports[`can choose build tools and copy provided settings: c++ (manual) windows: download build wrapper 1`] = `
163 "$env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar")
164 rm "$env:SONAR_DIRECTORY/build-wrapper-win-x86" -Force -Recurse -ErrorAction SilentlyContinue
165 New-Item -path $env:SONAR_DIRECTORY/build-wrapper-win-x86 -type directory
166 (New-Object System.Net.WebClient).DownloadFile("http://localhost:9000/static/cpp/build-wrapper-win-x86.zip", "$env:SONAR_DIRECTORY/build-wrapper-win-x86.zip")
167 Add-Type -AssemblyName System.IO.Compression.FileSystem
168 [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/build-wrapper-win-x86.zip", "$env:SONAR_DIRECTORY")
169 $env:Path += ";$env:SONAR_DIRECTORY/build-wrapper-win-x86"
170 "
171 `;
172
173 exports[`can choose build tools and copy provided settings: c++ (manual) windows: download scanner 1`] = `
174 "$env:SONAR_SCANNER_VERSION = "6.0.0.4432"
175 $env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar")
176 $env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows"
177 rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue
178 New-Item -path $env:SONAR_SCANNER_HOME -type directory
179 (New-Object System.Net.WebClient).DownloadFile("https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$env:SONAR_SCANNER_VERSION-windows.zip", "$env:SONAR_DIRECTORY/sonar-scanner.zip")
180 Add-Type -AssemblyName System.IO.Compression.FileSystem
181 [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/sonar-scanner.zip", "$env:SONAR_DIRECTORY")
182 rm ./.sonar/sonar-scanner.zip -Force -ErrorAction SilentlyContinue
183 $env:Path += ";$env:SONAR_SCANNER_HOME/bin"
184 $env:SONAR_SCANNER_OPTS="-server"
185 "
186 `;
187
188 exports[`can choose build tools and copy provided settings: c++ (manual) windows: execute build wrapper 1`] = `"build-wrapper-win-x86-64.exe --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
189
190 exports[`can choose build tools and copy provided settings: c++ (manual) windows: execute scanner 1`] = `"sonar-scanner.bat -D"sonar.projectKey=my-project" -D"sonar.sources=." -D"sonar.cfamily.compile-commands=bw-output/compile_commands.json" -D"sonar.host.url=http://localhost:9000""`;
191
192 exports[`can choose build tools and copy provided settings: dotnet core: execute command 1 1`] = `"dotnet sonarscanner begin /k:"my-project" /d:sonar.host.url="http://localhost:9000"  /d:sonar.token="generatedtoken2""`;
193
194 exports[`can choose build tools and copy provided settings: dotnet core: execute command 2 1`] = `"dotnet build"`;
195
196 exports[`can choose build tools and copy provided settings: dotnet core: execute command 3 1`] = `"dotnet sonarscanner end /d:sonar.token="generatedtoken2""`;
197
198 exports[`can choose build tools and copy provided settings: dotnet core: install scanner globally 1`] = `"dotnet tool install --global dotnet-sonarscanner"`;
199
200 exports[`can choose build tools and copy provided settings: dotnet framework: execute command 1 1`] = `"SonarScanner.MSBuild.exe begin /k:"my-project" /d:sonar.host.url="http://localhost:9000" /d:sonar.token="generatedtoken2""`;
201
202 exports[`can choose build tools and copy provided settings: dotnet framework: execute command 2 1`] = `"MsBuild.exe /t:Rebuild"`;
203
204 exports[`can choose build tools and copy provided settings: dotnet framework: execute command 3 1`] = `"SonarScanner.MSBuild.exe end /d:sonar.token="generatedtoken2""`;
205
206 exports[`can choose build tools and copy provided settings: gradle: execute scanner 1`] = `
207 "./gradlew sonar \\
208   -Dsonar.projectKey=my-project \\
209   -Dsonar.projectName='MyProject' \\
210   -Dsonar.host.url=http://localhost:9000 \\
211   -Dsonar.token=generatedtoken2"
212 `;
213
214 exports[`can choose build tools and copy provided settings: gradle: sonarqube plugin 1`] = `
215 "plugins {
216   id "org.sonarqube" version "5.0.0.4638"
217 }"
218 `;
219
220 exports[`can choose build tools and copy provided settings: maven: execute scanner 1`] = `
221 "mvn clean verify sonar:sonar \\
222   -Dsonar.projectKey=my-project \\
223   -Dsonar.projectName='MyProject' \\
224   -Dsonar.host.url=http://localhost:9000 \\
225   -Dsonar.token=generatedtoken2"
226 `;
227
228 exports[`can choose build tools and copy provided settings: objective-c linux arm64: download build wrapper 1`] = `
229 "curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-aarch64.zip http://localhost:9000/static/cpp/build-wrapper-linux-aarch64.zip
230 unzip -o $HOME/.sonar/build-wrapper-linux-aarch64.zip -d $HOME/.sonar/
231 export PATH=$HOME/.sonar/build-wrapper-linux-aarch64:$PATH
232 "
233 `;
234
235 exports[`can choose build tools and copy provided settings: objective-c linux arm64: download scanner 1`] = `
236 "export SONAR_SCANNER_VERSION=6.0.0.4432
237 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION
238 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION.zip
239 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
240 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
241 export SONAR_SCANNER_OPTS="-server"
242 "
243 `;
244
245 exports[`can choose build tools and copy provided settings: objective-c linux arm64: execute build wrapper 1`] = `"build-wrapper-linux-aarch64 --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
246
247 exports[`can choose build tools and copy provided settings: objective-c linux arm64: execute scanner 1`] = `
248 "sonar-scanner \\
249   -Dsonar.projectKey=my-project \\
250   -Dsonar.sources=. \\
251   -Dsonar.cfamily.compile-commands=bw-output/compile_commands.json \\
252   -Dsonar.host.url=http://localhost:9000"
253 `;
254
255 exports[`can choose build tools and copy provided settings: objective-c linux: download build wrapper 1`] = `
256 "curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip http://localhost:9000/static/cpp/build-wrapper-linux-x86.zip
257 unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/
258 export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH
259 "
260 `;
261
262 exports[`can choose build tools and copy provided settings: objective-c linux: download scanner 1`] = `
263 "export SONAR_SCANNER_VERSION=6.0.0.4432
264 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
265 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
266 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
267 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
268 export SONAR_SCANNER_OPTS="-server"
269 "
270 `;
271
272 exports[`can choose build tools and copy provided settings: objective-c linux: execute build wrapper 1`] = `"build-wrapper-linux-x86-64 --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
273
274 exports[`can choose build tools and copy provided settings: objective-c linux: execute scanner 1`] = `
275 "sonar-scanner \\
276   -Dsonar.projectKey=my-project \\
277   -Dsonar.sources=. \\
278   -Dsonar.cfamily.compile-commands=bw-output/compile_commands.json \\
279   -Dsonar.host.url=http://localhost:9000"
280 `;
281
282 exports[`can choose build tools and copy provided settings: objective-c macos: download build wrapper 1`] = `
283 "curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-macosx-x86.zip http://localhost:9000/static/cpp/build-wrapper-macosx-x86.zip
284 unzip -o $HOME/.sonar/build-wrapper-macosx-x86.zip -d $HOME/.sonar/
285 export PATH=$HOME/.sonar/build-wrapper-macosx-x86:$PATH
286 "
287 `;
288
289 exports[`can choose build tools and copy provided settings: objective-c macos: download scanner 1`] = `
290 "export SONAR_SCANNER_VERSION=6.0.0.4432
291 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx
292 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx.zip
293 unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
294 export PATH=$SONAR_SCANNER_HOME/bin:$PATH
295 export SONAR_SCANNER_OPTS="-server"
296 "
297 `;
298
299 exports[`can choose build tools and copy provided settings: objective-c macos: execute build wrapper 1`] = `"build-wrapper-macosx-x86 --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
300
301 exports[`can choose build tools and copy provided settings: objective-c macos: execute scanner 1`] = `
302 "sonar-scanner \\
303   -Dsonar.projectKey=my-project \\
304   -Dsonar.sources=. \\
305   -Dsonar.cfamily.compile-commands=bw-output/compile_commands.json \\
306   -Dsonar.host.url=http://localhost:9000"
307 `;
308
309 exports[`can choose build tools and copy provided settings: objective-c windows: download build wrapper 1`] = `
310 "$env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar")
311 rm "$env:SONAR_DIRECTORY/build-wrapper-win-x86" -Force -Recurse -ErrorAction SilentlyContinue
312 New-Item -path $env:SONAR_DIRECTORY/build-wrapper-win-x86 -type directory
313 (New-Object System.Net.WebClient).DownloadFile("http://localhost:9000/static/cpp/build-wrapper-win-x86.zip", "$env:SONAR_DIRECTORY/build-wrapper-win-x86.zip")
314 Add-Type -AssemblyName System.IO.Compression.FileSystem
315 [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/build-wrapper-win-x86.zip", "$env:SONAR_DIRECTORY")
316 $env:Path += ";$env:SONAR_DIRECTORY/build-wrapper-win-x86"
317 "
318 `;
319
320 exports[`can choose build tools and copy provided settings: objective-c windows: download scanner 1`] = `
321 "$env:SONAR_SCANNER_VERSION = "6.0.0.4432"
322 $env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar")
323 $env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows"
324 rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue
325 New-Item -path $env:SONAR_SCANNER_HOME -type directory
326 (New-Object System.Net.WebClient).DownloadFile("https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$env:SONAR_SCANNER_VERSION-windows.zip", "$env:SONAR_DIRECTORY/sonar-scanner.zip")
327 Add-Type -AssemblyName System.IO.Compression.FileSystem
328 [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/sonar-scanner.zip", "$env:SONAR_DIRECTORY")
329 rm ./.sonar/sonar-scanner.zip -Force -ErrorAction SilentlyContinue
330 $env:Path += ";$env:SONAR_SCANNER_HOME/bin"
331 $env:SONAR_SCANNER_OPTS="-server"
332 "
333 `;
334
335 exports[`can choose build tools and copy provided settings: objective-c windows: execute build wrapper 1`] = `"build-wrapper-win-x86-64.exe --out-dir bw-output onboarding.analysis.build_wrapper.execute_build_command"`;
336
337 exports[`can choose build tools and copy provided settings: objective-c windows: execute scanner 1`] = `"sonar-scanner.bat -D"sonar.projectKey=my-project" -D"sonar.sources=." -D"sonar.cfamily.compile-commands=bw-output/compile_commands.json" -D"sonar.host.url=http://localhost:9000""`;