Skip to content

Commit 4a1e03a

Browse files
authored
Merge pull request #64 from appcircleio/feature/be-6104
#BE-6104 Publish Flow Improvements
2 parents e95f895 + f6b8382 commit 4a1e03a

4 files changed

Lines changed: 329 additions & 32 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ CURL_LOGGING= appcircle
157157
- Get the workflows of that build profile `appcircle build profile workflows --profileId="YOUR PROFILE ID"`
158158
- Start a new build using `appcircle build start --profileId="YOUR PROFILE ID" --branch="YOUR BRANCH" --workflow="YOUR WORKFLOW ID"`
159159

160+
> **Note:** When starting a build, logs are automatically downloaded upon completion. You can also manually download logs using `appcircle build download-log --taskId="YOUR_TASK_ID"` or with commit/build IDs.
160161
#### Build Log Download Improvements
161162

162163
Appcircle CLI includes the following improvements for build log downloading functionality:

docs/build/download-log.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ appcircle build download-log [options]
88

99
## Description
1010

11-
This command downloads build logs to your computer. You can download logs using two different methods:
11+
This command downloads build logs using either a Task ID (preferred) or a Commit ID and Build ID combination. When using the Task ID method, the CLI automatically waits for logs to be ready, checking at 5-second intervals for up to 2 minutes.
1212

13-
1. Using `taskId` (preferred method)
14-
2. Using `commitId` and `buildId` (alternative method)
13+
The downloaded log file will be saved as `build-task-{taskId}-log.txt` or `{buildId}-log.txt` depending on the method used.
1514

16-
When downloading logs, the CLI automatically checks if logs are ready at 5-second intervals for up to 2 minutes.
15+
## Features
16+
17+
- User-friendly animation is displayed while build logs are being prepared
18+
- Automatically switches to alternative download methods if the primary method fails
19+
- Logs are saved with descriptive filenames: `build-task-{taskId}-log.txt` or `{buildId}-log.txt`
20+
- Full file path is displayed to easily find log files
1721

1822
## Options
1923

@@ -27,19 +31,6 @@ When downloading logs, the CLI automatically checks if logs are ready at 5-secon
2731
--buildId <uuid> [METHOD 2] Build ID
2832
```
2933

30-
## Features
31-
32-
- User-friendly animation is displayed while build logs are being prepared
33-
- Automatically switches to alternative download methods if the primary method fails
34-
- Logs are saved with descriptive filenames: `build-task-{taskId}-log.txt` or `{buildId}-log.txt`
35-
- Full file path is displayed to easily find log files
36-
37-
## Options inherited from parent commands
38-
39-
```plaintext
40-
--help Show help for command
41-
```
42-
4334
## Examples
4435

4536
```plaintext

src/constant.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ export const BuildStatus = {
1616
"91": "Running",
1717
"92": "Completing",
1818
"99": "Unknown",
19+
"100": "Skipped",
20+
"200": "NotStarted",
1921
"201": "Stopped",
22+
"202": "InProgress",
23+
"203": "AwaitingResponse",
2024
};
2125

2226
export const QueueItemStatus = {

0 commit comments

Comments
 (0)