Skip to content

Commit f27d60c

Browse files
authored
Merge pull request #1500 from surishubham/main
Merge pull request #1499 from amanchopra1905/stage
2 parents dda2d85 + 4e52680 commit f27d60c

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/deep-dive-into-hyperexecute-yaml.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ globalPre:
643643
runson: win
644644
cache: true
645645
```
646-
646+
<!--
647647
:::info
648648
You can also use `beforeAll` as an alias for the `globalPre` command:
649649

@@ -655,7 +655,7 @@ beforeAll:
655655
runson: win
656656
cache: true
657657
```
658-
:::
658+
::: -->
659659

660660
#### Parameters
661661
| Parameter | Type | Description |
@@ -697,7 +697,7 @@ globalPost:
697697
runson: linux
698698
```
699699

700-
:::info
700+
<!-- :::info
701701
You can also use `afterAll` as an alias for the `globalPost` command:
702702

703703
```yaml
@@ -707,7 +707,7 @@ afterAll:
707707
mode: local
708708
runson: linux
709709
```
710-
:::
710+
::: -->
711711

712712
#### Parameters
713713
| Parameter | Type | Description |
@@ -1359,10 +1359,10 @@ if your test loads jquery static library multiple times and for some reason it i
13591359

13601360
> **Note**: These cached resources are not yet shared across VMs. So, each VM has its own copy of cache.
13611361

1362-
<!--
13631362
***
13641363

1365-
### `afterAll`
1364+
### `afterAll`
1365+
> This flag is deprecated, instead use [`globalPost`](/support/docs/deep-dive-into-hyperexecute-yaml/#globalpost)
13661366
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.
13671367
```yaml
13681368
afterAll:
@@ -1373,10 +1373,12 @@ afterAll:
13731373

13741374
For instance you want to further process the artifacts and create a custom PDF. You can use `afterAll` for this purpose wherein custom commands can be invoked. Other use cases can be in case you :
13751375
- Want to run some commands after the job is finished.
1376-
- Want to run these commands from the same host from which hyperexecute-cli is run. -->
1376+
- Want to run these commands from the same host from which hyperexecute-cli is run.
1377+
1378+
***
13771379

1378-
<!-- ***
13791380
## `beforeAll`
1381+
> This flag is deprecated, instead use [`globalPre`](/support/docs/deep-dive-into-hyperexecute-yaml/#globalpre)
13801382
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.
13811383
```yaml
13821384
beforeAll:
@@ -1386,7 +1388,7 @@ beforeAll:
13861388
commands:
13871389
pip install -r requirements.txt
13881390
```
1389-
We can choose to run on local/remote(on HYP Vms) from the location command. Type can be either discovery/update_payload (type of operation to be performed) and commands will have all the commands that needs to be run for that operation. -->
1391+
We can choose to run on local/remote(on HYP Vms) from the location command. Type can be either discovery/update_payload (type of operation to be performed) and commands will have all the commands that needs to be run for that operation.
13901392

13911393
***
13921394

0 commit comments

Comments
 (0)