Skip to content

Commit b846c61

Browse files
Aman1905Ishavyas9
authored andcommitted
spell update
1 parent d4dcba5 commit b846c61

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/smartui-cli-env-variables.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,30 @@ Welcome to the world of simplified visual testing with the SmartUI SDK.
5353

5454
This guide is designed to provide you with comprehensive information about the various environment variables options available within the SmartUI SDK. SmartUI retrieves additional details from the environment it is running in, like the branch name, baseline branch,proxies etc. You can modify certain aspects of SmartUI behavior by configuring these environment variables within your CI environment:
5555

56+
## 1. Setting the Project Name
57+
58+
Set the Project Name you want to add the current build run to by exporting these environment variables:
59+
60+
<Tabs className="docs__val" groupId="language">
61+
<TabItem value="MacOS/Linux" label="MacOS/Linux" default>
62+
63+
```bash
64+
export LT_USERNAME="YOUR USERNAME"
65+
export LT_ACCESS_KEY="YOUR ACCESS KEY"
66+
export PROJECT_NAME="Required Project Name"
67+
```
68+
</TabItem>
69+
<TabItem value="Windows" label="Windows" default>
70+
71+
```bash
72+
set LT_USERNAME="YOUR USERNAME"
73+
set LT_ACCESS_KEY="YOUR ACCESS KEY"
74+
set PROJECT_NAME="Required Project Name"
75+
```
76+
</TabItem>
77+
</Tabs>
78+
79+
> If you specify a project name that doesn't already exist, a new project will be created by the user whose authentication is added in the environment.
5680
5781

5882
## 1. Setting the Baseline Branch

0 commit comments

Comments
 (0)