Wait until a condition will be met on a build.
Wait command is useful in case there is a need to wait for a desired status on a specific set of builds.
codefresh wait <id..>
| Option | Alias | Default | Description |
|---|---|---|---|
| id | Build id |
| Option | Alias | Type | Default | Description |
|---|---|---|---|---|
| --help | Print help information | |||
| --status | -s | string | success | Build status. requiredPossible values: - pending - elected - running - error - success - terminating - terminated - pending-approval - delayed |
| --verbose | -v | boolean | false | Show debug output until the condition will be met. |
| --timeout | -t | number | 30 | Define a timeout for the wait operation in minutes |
codefresh wait ID
codefresh wait ID --status=terminated
codefresh wait ID1 ID2