Menu
AWS CodePipeline
User Guide (API Version 2015-07-09)

Start a Pipeline Manually in AWS CodePipeline

By default, a pipeline starts automatically when it is created and then any time a change is made in a source repository. However, you might want to rerun the most recent revision through the pipeline a second time. You can use the AWS CodePipeline console or the AWS CLI and start-pipeline-execution command to manually rerun the most recent revision through your pipeline.

Start a Pipeline Manually (Console)

To manually start a pipeline and run the most recent revision through a pipeline

  1. Sign in to the AWS Management Console and open the AWS CodePipeline console at http://console.aws.amazon.com/codepipeline.

  2. In Name, choose the name of the pipeline you want to start.

  3. On the pipeline details page, choose Release change. This starts the most recent revision available in each source location specified in a source action through the pipeline.

Start a Pipeline Manually (CLI)

To manually start a pipeline and run the most recent version of an artifact through a pipeline

  1. Open a terminal (Linux, macOS, or Unix) or command prompt (Windows) and use the AWS CLI to run the start-pipeline-execution command, specifying the name of the pipeline you want to manually start. For example, to start running the last change through a pipeline named MyFirstPipeline:

    Copy
    aws codepipeline start-pipeline-execution --name MyFirstPipeline
  2. To verify success, view the returned object. This command returns an ExecutionID object, similar to the following:

    Copy
    { "pipelineExecutionId": "c53dbd42-This-Is-An-Example" }

    Note

    After you have started the pipeline, you can monitor its progress in the AWS CodePipeline console or by running the get-pipeline-state command. For more information, see View Pipeline Details and History (Console) and View Pipeline Details and History (CLI).