Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Add condition to skip executing the script transfer-logs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yosserO authored and diemol committed Sep 23, 2019
1 parent 9f7f724 commit f499784
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -604,8 +604,10 @@ void processContainerAction(final DockerSeleniumContainerAction action, final St
@VisibleForTesting
void processContainerAction(final DockerSeleniumContainerAction action, final String commandParameters,
final String containerId) {
final String[] command = { "bash", "-c", action.getContainerAction().concat(commandParameters)};
containerClient.executeCommand(containerId, command, action.isWaitForExecution());
if (DockerSeleniumContainerAction.TRANSFER_LOGS != action) {
final String[] command = { "bash", "-c", action.getContainerAction().concat(commandParameters)};
containerClient.executeCommand(containerId, command, action.isWaitForExecution());
}

if (keepVideoAndLogs()) {
if (DockerSeleniumContainerAction.STOP_RECORDING == action) {
Expand Down

0 comments on commit f499784

Please sign in to comment.