No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
278 | 278 | ssh_data_path = self._getSshDataPath() |
|
279 | 279 | yield self.runMkdir(ssh_data_path) |
|
280 | 280 | ||
281 | - | if not self.supportsSshPrivateKeyAsEnvOption: |
|
282 | - | script_path = self._getSshWrapperScriptPath(ssh_data_path) |
|
283 | - | script_contents = getSshWrapperScriptContents( |
|
284 | - | self._getSshPrivateKeyPath(ssh_data_path)) |
|
285 | - | ||
286 | - | yield self.downloadFileContentToWorker(script_path, |
|
287 | - | script_contents, |
|
288 | - | workdir=workdir, mode=0o700) |
|
289 | - | ||
290 | 281 | private_key_path = self._getSshPrivateKeyPath(ssh_data_path) |
|
291 | 282 | yield self.downloadFileContentToWorker(private_key_path, |
|
292 | 283 | private_key, |
|
293 | 284 | workdir=workdir, mode=0o400) |
|
294 | 285 | ||
286 | + | known_hosts_path = None |
|
295 | 287 | if self.sshHostKey is not None or self.sshKnownHosts is not None: |
|
296 | 288 | known_hosts_path = self._getSshHostKeyPath(ssh_data_path) |
|
297 | 289 |
301 | 293 | known_hosts_contents, |
|
302 | 294 | workdir=workdir, mode=0o400) |
|
303 | 295 | ||
296 | + | if not self.supportsSshPrivateKeyAsEnvOption: |
|
297 | + | script_path = self._getSshWrapperScriptPath(ssh_data_path) |
|
298 | + | script_contents = getSshWrapperScriptContents(private_key_path, known_hosts_path) |
|
299 | + | ||
300 | + | yield self.downloadFileContentToWorker(script_path, |
|
301 | + | script_contents, |
|
302 | + | workdir=workdir, mode=0o700) |
|
303 | + | ||
304 | 304 | self.didDownloadSshPrivateKey = True |
|
305 | 305 | return RC_SUCCESS |
|
306 | 306 |
Files | Coverage |
---|---|
Project Totals (352 files) | 89.96% |
#5568
acd00f6
e1a7b72
e6c0876
8bfed63
41c83df
89f092e