code: @Given("^I run '(.+?)' in the ssh connection( with exit status '(.+?)')?( and save the value in environment variable '(.+?)')?$")
      public void executeCommand(String command, String foo, Integer exitStatus, String bar, String envVar) throws Exception {
          if (exitStatus == null) {
              exitStatus = 0;
          }
  
          command = "set -o pipefail && alias grep='grep --color=never' && " + command;
  
          commonspec.executeCommand(command, exitStatus, envVar);
      }
docs: Executes the command specified in remote system
  
  @param command    command to be run locally
  @param foo        regex needed to match method
  @param exitStatus command exit status
  @param bar        regex needed to match method
  @param envVar     environment variable name
  @throws Exception exception