Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/hyperexecute/cli/analyze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hyperexecute/cli/completion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/deep-dive-into-hyperexecute-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,7 @@ if your test loads jquery static library multiple times and for some reason it i

### `afterAll`
> This flag is deprecated, instead use [`globalPost`](/support/docs/deep-dive-into-hyperexecute-yaml/#globalpost)

It is used to run commands after the job has finished. Currently only local directive is allowed, means that all the commands would be run on the same host on which HyperExecute CLI was run. Running commands in `afterAll` on HyperExecute VMs(remote commands) is not yet supported. Users will have access to all the artifacts when these commands would be run.
```yaml
afterAll:
Expand All @@ -1379,6 +1380,7 @@ For instance you want to further process the artifacts and create a custom PDF.

## `beforeAll`
> This flag is deprecated, instead use [`globalPre`](/support/docs/deep-dive-into-hyperexecute-yaml/#globalpre)

BeforeAll is used for running pre operations like discovery and payload_update. It can be executed either on local system or on hyperexecute beforeAll VM.
```yaml
beforeAll:
Expand Down
32 changes: 24 additions & 8 deletions docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ The various flags that are supported are listed below.

| Flags | Type | Description|
|-------|------|------------|
| [analyze](#analyze) | NA | Analyzes the language and environment supported in your project.|
| [completion](#completion) | NA | Generates the autocompletion script for HyperExecute for the specified shell. |
| [--concurrency](#--concurrency) | Numerical | Indicates the number of concurrent sessions on HyperExecute. |
| [--config](#--config) | string | Custom location for hyperexecute.yaml. |
| [--download-artifacts](#--download-artifacts) | NA | Download the artifacts for a job. |
Expand All @@ -100,6 +102,28 @@ The various flags that are supported are listed below.
| [--verbose](#--verbose) | NA | Logging of every proxy request to stdout. |
| [--version](#--version) | NA | Version of the HyperExecute CLI. |

### `analyze`
This flag runs **HyperExecute Analyze**, which is a language and environment detection tool used to render every language and framework detail the user has in his project, which includes finding private dependencies.

```bash
hyperexecute analyze
```

<img loading="lazy" src={require('../assets/images/hyperexecute/cli/analyze.png').default} alt="Image" className="doc_img"/>

***

### `completion`
This flag generates the autocompletion script for HyperExecute for the specified shell.

```bash
hyperexecute completion
```

<img loading="lazy" src={require('../assets/images/hyperexecute/cli/completion.png').default} alt="Image" className="doc_img"/>

***

### `--concurrency`
This flag allows you to define the number of concurrent sessions running on HyperExecute. For more information on concurrency, go to [this page](/support/docs/hyperexecute-auto-split-strategy/).
```bash
Expand Down Expand Up @@ -350,14 +374,6 @@ This flag indicates the version of HyperExecute CLI binary that you are running
```
***

### `analyze`
This flag runs **HyperExecute Analyze**, which is a language and environment detection tool used to render every language and framework detail the user has in his project, which includes finding private dependencies.

```bash
hyperexecute analyze
```
***

## Trigger your Test from HyperExecute CLI

In order to trigger your job on HyperExecute, execute the following command in your terminal. You will need to insert the name of your YAML file in place of the `RELATIVE_PATH_OF_YOUR_YAML_FILE` before running this command.
Expand Down
Loading