404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.136.11.217: ~ $
**To stop a build of an AWS CodeBuild build project.**

The following ``stop-build`` example stops the specified CodeBuild build. ::

    aws codebuild stop-build --id my-demo-project:12345678-a1b2-c3d4-e5f6-11111EXAMPLE

Output::

    {
        "build": {
            "startTime": 1556906956.318,
            "initiator": "my-aws-account-name",
            "projectName": "my-demo-project",
            "currentPhase": "COMPLETED",
            "cache": {
                "type": "NO_CACHE"
            },
            "source": {
                "insecureSsl": false,
                "location": "codebuild-us-west-2-123456789012-input-bucket/my-source.zip",
                "type": "S3"
            },
            "id": "my-demo-project:1a2b3c4d-5678-90ab-cdef-11111EXAMPLE",
            "endTime": 1556906974.781,
            "phases": [
                {
                    "durationInSeconds": 0,
                    "phaseType": "SUBMITTED",
                    "endTime": 1556906956.935,
                    "phaseStatus": "SUCCEEDED",
                    "startTime": 1556906956.318
                },
                {
                    "durationInSeconds": 1,
                    "phaseType": "QUEUED",
                    "endTime": 1556906958.272,
                    "phaseStatus": "SUCCEEDED",
                    "startTime": 1556906956.935
                },
                {
                    "phaseType": "PROVISIONING",
                    "phaseStatus": "SUCCEEDED",
                    "durationInSeconds": 14,
                    "contexts": [
                        {
                            "message": "",
                            "statusCode": ""
                        }
                    ],
                    "endTime": 1556906972.847,
                    "startTime": 1556906958.272
                },
                {
                    "phaseType": "DOWNLOAD_SOURCE",
                    "phaseStatus": "SUCCEEDED",
                    "durationInSeconds": 0,
                    "contexts": [
                            {
                            "message": "",
                            "statusCode": ""
                        }
                    ],
                    "endTime": 1556906973.552,
                    "startTime": 1556906972.847
                },
                {
                    "phaseType": "INSTALL",
                    "phaseStatus": "SUCCEEDED",
                    "durationInSeconds": 0,
                    "contexts": [
                        {
                            "message": "",
                            "statusCode": ""
                        }
                    ],
                    "endTime": 1556906973.75,
                    "startTime": 1556906973.552
                },
                {
                    "phaseType": "PRE_BUILD",
                    "phaseStatus": "SUCCEEDED",
                    "durationInSeconds": 0,
                    "contexts": [
                        {
                            "message": "",
                            "statusCode": ""
                        }
                    ],
                    "endTime": 1556906973.937,
                    "startTime": 1556906973.75
                },
                {
                    "durationInSeconds": 0,
                    "phaseType": "BUILD",
                    "endTime": 1556906974.781,
                    "phaseStatus": "STOPPED",
                    "startTime": 1556906973.937
                },
                {
                    "phaseType": "COMPLETED",
                    "startTime": 1556906974.781
                }
            ],
            "artifacts": {
                "location": "arn:aws:s3:::artifacts-override/my-demo-project",
                "encryptionDisabled": false,
                "overrideArtifactName": true
            },
            "buildComplete": true,
            "buildStatus": "STOPPED",
            "encryptionKey": "arn:aws:kms:us-west-2:123456789012:alias/aws/s3",
            "serviceRole": "arn:aws:iam::123456789012:role/service-role/my-codebuild-service-role",
            "queuedTimeoutInMinutes": 5,
            "timeoutInMinutes": 60,
            "environment": {
                "type": "LINUX_CONTAINER",
                "environmentVariables": [],
                "computeType": "BUILD_GENERAL1_MEDIUM",
                "privilegedMode": false,
                "image": "aws/codebuild/standard:1.0",
                "imagePullCredentialsType": "CODEBUILD"
            },
            "logs": {
                "streamName": "1a2b3c4d-5678-90ab-cdef-11111EXAMPLE",
                "deepLink": "https://console.aws.amazon.com/cloudwatch/home?region=us-west-2#logEvent:group=/aws/codebuild/my-demo-project;stream=1a2b3c4d-5678-90ab-cdef-11111EXAMPLE",
                "groupName": "/aws/codebuild/my-demo-project"
            },
            "arn": "arn:aws:codebuild:us-west-2:123456789012:build/my-demo-project:1a2b3c4d-5678-90ab-cdef-11111EXAMPLE"
        }
    }

For more information, see `Stop a Build (AWS CLI) <https://docs.aws.amazon.com/codebuild/latest/userguide/stop-build.html#stop-build-cli>`_ in the *AWS CodeBuild User Guide*.

Filemanager

Name Type Size Permission Actions
batch-delete-builds.rst File 917 B 0644
batch-get-build-batches.rst File 7.91 KB 0644
batch-get-builds.rst File 15.51 KB 0644
batch-get-projects.rst File 4.28 KB 0644
batch-get-report-groups.rst File 1.05 KB 0644
batch-get-reports.rst File 2.8 KB 0644
create-project.rst File 4.46 KB 0755
create-report-group.rst File 1.39 KB 0644
create-webhook.rst File 2.95 KB 0755
delete-build-batch.rst File 870 B 0644
delete-project.rst File 402 B 0755
delete-report-group.rst File 483 B 0644
delete-report.rst File 441 B 0644
delete-source-credentials.rst File 699 B 0755
delete-webhook.rst File 465 B 0755
describe-code-coverages.rst File 1.66 KB 0644
describe-test-cases.rst File 1.77 KB 0644
import-source-credentials.rst File 729 B 0755
invalidate-project-cache.rst File 440 B 0755
list-build-batches-for-project.rst File 587 B 0644
list-build-batches.rst File 491 B 0644
list-builds-for-project.rst File 964 B 0755
list-builds.rst File 1.59 KB 0755
list-curated-environment-images.rst File 1.69 KB 0755
list-projects.rst File 1.48 KB 0755
list-report-groups.rst File 692 B 0644
list-reports-for-report-group.rst File 803 B 0644
list-reports.rst File 705 B 0644
list-shared-projects.rst File 627 B 0644
list-shared-report-groups.rst File 713 B 0644
list-source-credentials.rst File 1017 B 0755
retry-build-batch.rst File 6.44 KB 0644
retry-build.rst File 3 KB 0644
start-build-batch.rst File 2.52 KB 0644
start-build.rst File 2.86 KB 0755
stop-build-batch.rst File 5.93 KB 0644
stop-build.rst File 5.09 KB 0755
update-project.rst File 2.55 KB 0755
update-report-group.rst File 952 B 0644
update-webhook.rst File 2.54 KB 0755