Restart Build

Description

Restart a build by its id.

Command

codefresh restart <id>

Arguments

Option Alias Default Description
id Build id

Options

Option Alias Type Default Description
--help Print help information
--detach -d Run build and print workflow ID

Examples

Restart build ID and attach the created new build

codefresh restart ID

Restart build ID and return the new build id

codefresh restart ID -d