{
  "payload": {
    "compare": null,
    "previous_successful_build": {
      "build_num": 2,
      "status": "success",
      "build_time_millis": 33841
    },
    "build_parameters": {
      "CIRCLE_JOB": "build"
    },
    "oss": false,
    "all_commit_details_truncated": false,
    "committer_date": "",
    "steps": [
      {
        "name": "Spin Up Environment",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": null,
            "infrastructure_fail": null,
            "name": "Spin Up Environment",
            "bash_command": null,
            "status": "success",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:35.777Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "output_url": "https://circle-production-action-output.s3.amazonaws.com/redacted",
            "start_time": "2020-06-12T10:25:31.268Z",
            "background": false,
            "exit_code": null,
            "insignificant": false,
            "canceled": null,
            "step": 0,
            "run_time_millis": 4509,
            "has_output": true
          }
        ]
      },
      {
        "name": "Preparing Environment Variables",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": null,
            "infrastructure_fail": null,
            "name": "Preparing Environment Variables",
            "bash_command": null,
            "status": "success",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:36.310Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "output_url": "https://circle-production-action-output.s3.amazonaws.com/redacted",
            "start_time": "2020-06-12T10:25:36.286Z",
            "background": false,
            "exit_code": null,
            "insignificant": false,
            "canceled": null,
            "step": 99,
            "run_time_millis": 24,
            "has_output": true
          }
        ]
      },
      {
        "name": "Checkout code",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": null,
            "infrastructure_fail": null,
            "name": "Checkout code",
            "bash_command": "#!/bin/sh\nset -e\n\n# Workaround old docker images with incorrect $HOME\n# check https://github.com/docker/docker/issues/2968 for details\nif [ \"${HOME}\" = \"/\" ]\nthen\n  export HOME=$(getent passwd $(id -un) | cut -d: -f6)\nfi\n\necho Using SSH Config Dir $SSH_CONFIG_DIR\n\nmkdir -p $SSH_CONFIG_DIR\n\necho 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\nbitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==\n' >> $SSH_CONFIG_DIR/known_hosts\n\n(umask 077; touch $SSH_CONFIG_DIR/id_rsa)\nchmod 0600 $SSH_CONFIG_DIR/id_rsa\n(cat <<EOF > $SSH_CONFIG_DIR/id_rsa\n$CHECKOUT_KEY\nEOF\n)\n\nexport GIT_SSH_COMMAND='ssh -i $SSH_CONFIG_DIR/id_rsa -o UserKnownHostsFile=$SSH_CONFIG_DIR/known_hosts'\n\n# use git+ssh instead of https\ngit config --global url.\"ssh://git@bitbucket.org\".insteadOf \"https://bitbucket.org\" || true\ngit config --global gc.auto 0 || true\n\nif [ -e /home/circleci/project/.git ]\nthen\n  cd /home/circleci/project\n  git remote set-url origin \"$CIRCLE_REPOSITORY_URL\" || true\nelse\n  mkdir -p /home/circleci/project\n  cd /home/circleci/project\n  git clone \"$CIRCLE_REPOSITORY_URL\" .\nfi\n\nif [ -n \"$CIRCLE_TAG\" ]\nthen\n  git fetch --force origin \"refs/tags/${CIRCLE_TAG}\"\nelse\n  git fetch --force origin \"unstable:remotes/origin/unstable\"\nfi\n\n\nif [ -n \"$CIRCLE_TAG\" ]\nthen\n  git reset --hard \"$CIRCLE_SHA1\"\n  git checkout -q \"$CIRCLE_TAG\"\nelif [ -n \"$CIRCLE_BRANCH\" ]\nthen\n  git reset --hard \"$CIRCLE_SHA1\"\n  git checkout -q -B \"$CIRCLE_BRANCH\"\nfi\n\ngit reset --hard \"$CIRCLE_SHA1\"",
            "status": "success",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:37.330Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "output_url": "https://circle-production-action-output.s3.amazonaws.com/redacted",
            "start_time": "2020-06-12T10:25:36.319Z",
            "background": false,
            "exit_code": null,
            "insignificant": false,
            "canceled": null,
            "step": 101,
            "run_time_millis": 1011,
            "has_output": true
          }
        ]
      },
      {
        "name": "sudo pip install requests",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": null,
            "infrastructure_fail": null,
            "name": "sudo pip install requests",
            "bash_command": "#!/bin/bash -eo pipefail\nsudo pip install requests",
            "status": "success",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:38.811Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "start_time": "2020-06-12T10:25:37.339Z",
            "background": false,
            "exit_code": 0,
            "insignificant": false,
            "canceled": null,
            "step": 102,
            "run_time_millis": 1472,
            "has_output": true
          }
        ]
      },
      {
        "name": "python run.py",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": true,
            "infrastructure_fail": null,
            "name": "python run.py",
            "bash_command": "#!/bin/bash -eo pipefail\npython run.py",
            "status": "failed",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:39.013Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "start_time": "2020-06-12T10:25:38.819Z",
            "background": false,
            "exit_code": 1,
            "insignificant": false,
            "canceled": null,
            "step": 103,
            "run_time_millis": 194,
            "has_output": true
          }
        ]
      },
      {
        "name": "Uploading test results",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": null,
            "infrastructure_fail": null,
            "name": "Uploading test results",
            "bash_command": null,
            "status": "success",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:39.035Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "start_time": "2020-06-12T10:25:39.020Z",
            "background": false,
            "exit_code": null,
            "insignificant": false,
            "canceled": null,
            "step": 104,
            "run_time_millis": 15,
            "has_output": true
          }
        ]
      },
      {
        "name": "Uploading artifacts",
        "actions": [
          {
            "truncated": false,
            "index": 0,
            "parallel": true,
            "failed": null,
            "infrastructure_fail": null,
            "name": "Uploading artifacts",
            "bash_command": null,
            "status": "success",
            "timedout": null,
            "continue": null,
            "end_time": "2020-06-12T10:25:39.059Z",
            "type": "test",
            "allocation_id": "5ee358114751e46626b7e95e-0-build/7E6855FF",
            "start_time": "2020-06-12T10:25:39.044Z",
            "background": false,
            "exit_code": null,
            "insignificant": false,
            "canceled": null,
            "step": 105,
            "run_time_millis": 15,
            "has_output": true
          }
        ]
      }
    ],
    "body": "",
    "usage_queued_at": "2020-06-12T10:25:21.563Z",
    "context_ids": [],
    "fail_reason": null,
    "retry_of": null,
    "reponame": "circleci-test",
    "ssh_users": [],
    "build_url": "https://circleci.com/bb/Hypro999/circleci-test/5",
    "parallel": 1,
    "failed": true,
    "branch": "unstable",
    "username": "Hypro999",
    "author_date": "2020-06-12T10:25:03.000Z",
    "why": "bitbucket",
    "user": {
      "is_user": true,
      "login": "Hypro999",
      "avatar_url": "https://secure.gravatar.com/avatar/c4b80edf0959d0f22ece999a27a997e9?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHA-5.png",
      "name": "Hemanth V. Alluri",
      "vcs_type": "bitbucket",
      "id": "{073cdd10-0fee-4b71-9904-50cf5f3ecd33}"
    },
    "vcs_revision": "eaa88f9eac0fad86c46a8fe35462fe2c904d84b1",
    "workflows": {
      "job_name": "build",
      "job_id": "69fcea62-1c56-439e-bdfe-f74017b45cde",
      "workflow_id": "540db7d1-8ad3-4dd0-9bdc-2e1904066bf0",
      "workspace_id": "540db7d1-8ad3-4dd0-9bdc-2e1904066bf0",
      "upstream_job_ids": [],
      "upstream_concurrency_map": {},
      "workflow_name": "workflow"
    },
    "owners": [
      "Hypro999"
    ],
    "vcs_tag": null,
    "pull_requests": [
      {
        "head_sha": null,
        "url": "https://bitbucket.org/Hypro999/circleci-test/pull-requests/1"
      }
    ],
    "build_num": 5,
    "infrastructure_fail": false,
    "committer_email": null,
    "has_artifacts": true,
    "previous": {
      "build_num": 4,
      "status": "failed",
      "build_time_millis": 15936
    },
    "status": "failed",
    "committer_name": null,
    "retries": null,
    "subject": "Add a breaking change.",
    "vcs_type": "bitbucket",
    "timedout": false,
    "dont_build": null,
    "lifecycle": "finished",
    "no_dependency_cache": false,
    "stop_time": "2020-06-12T10:25:39.109Z",
    "ssh_disabled": true,
    "build_time_millis": 7876,
    "picard": {
      "build_agent": {
        "image": "circleci/picard@sha256:847ae88f32aaf7cfc04321b3eb25a7519630a949cf35df0d0b77ea1d7e886bd3",
        "properties": {
          "executor": "docker",
          "nomad_ami": "ami-07194a5d4dd689502",
          "availability_zone": "us-east-1c",
          "instance_id": "i-0621811b3dc51c575",
          "instance_ip": "172.16.91.76",
          "build_agent": "1.0.34234-27aa9735"
        }
      },
      "resource_class": {
        "cpu": 2,
        "ram": 4096,
        "class": "medium",
        "name": "Docker Medium"
      },
      "executor": "docker"
    },
    "circle_yml": {
      "string": "version: 2\njobs:\n  build:\n    working_directory: null\n    docker:\n    - image: circleci/python:3.6.4\n    steps:\n    - checkout\n    - run: sudo pip install requests\n    - run: python run.py\n    - store_test_results:\n        path: test-results\n    - store_artifacts:\n        path: test-results\n        destination: tr1\n    environment:\n    - CIRCLE_COMPARE_URL: https://bitbucket.org/Hypro999/circleci-test/branches/compare/eaa88f9eac0fad86c46a8fe35462fe2c904d84b1..7002beaea5a42561645b93be0aefdefc72a517c1\nnotify:\n  webhooks:\n  - url: https://webhook.site/378703d4-2758-42c8-a279-74df95cd78f0\nworkflows:\n  version: 2\n  workflow:\n    jobs:\n    - build\n"
    },
    "messages": [],
    "is_first_green_build": false,
    "job_name": null,
    "start_time": "2020-06-12T10:25:31.233Z",
    "canceler": null,
    "all_commit_details": [
      {
        "committer_date": "",
        "body": "",
        "branch": "unstable",
        "author_date": "2020-06-12T09:15:58.000Z",
        "committer_email": null,
        "commit": "6b5361c1661581d975e84b68904ae9bfba75d5e5",
        "committer_login": null,
        "committer_name": null,
        "subject": "Initial commit",
        "commit_url": "https://bitbucket.org/Hypro999/circleci-test/commits/6b5361c1661581d975e84b68904ae9bfba75d5e5",
        "author_login": null,
        "author_name": "Hemanth V. Alluri",
        "author_email": "hdrive1999@gmail.com"
      },
      {
        "committer_date": "",
        "body": "",
        "branch": "unstable",
        "author_date": "2020-06-12T10:07:12.000Z",
        "committer_email": null,
        "commit": "b04b124883f6d12046383acc376bfa327f369c81",
        "committer_login": null,
        "committer_name": null,
        "subject": "Add a first draft for CircleCI configuration.",
        "commit_url": "https://bitbucket.org/Hypro999/circleci-test/commits/b04b124883f6d12046383acc376bfa327f369c81",
        "author_login": null,
        "author_name": "Hemanth V. Alluri",
        "author_email": "hdrive1999@gmail.com"
      },
      {
        "committer_date": "",
        "body": "",
        "branch": "unstable",
        "author_date": "2020-06-12T10:25:03.000Z",
        "committer_email": null,
        "commit": "eaa88f9eac0fad86c46a8fe35462fe2c904d84b1",
        "committer_login": null,
        "committer_name": null,
        "subject": "Add a breaking change.",
        "commit_url": "https://bitbucket.org/Hypro999/circleci-test/commits/eaa88f9eac0fad86c46a8fe35462fe2c904d84b1",
        "author_login": null,
        "author_name": "Hemanth V. Alluri",
        "author_email": "hdrive1999@gmail.com"
      }
    ],
    "platform": "2.0",
    "outcome": "failed",
    "vcs_url": "https://bitbucket.org/Hypro999/circleci-test",
    "author_name": "Hemanth V. Alluri",
    "node": null,
    "queued_at": "2020-06-12T10:25:21.595Z",
    "canceled": false,
    "author_email": "hdrive1999@gmail.com"
  }
}
