{"id":20390489,"url":"https://github.com/checkly/checkly-ci-test","last_synced_at":"2025-10-24T14:46:28.842Z","repository":{"id":103283878,"uuid":"254674321","full_name":"checkly/checkly-ci-test","owner":"checkly","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-25T05:13:10.000Z","size":331,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-25T10:56:18.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/checkly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-10T15:50:20.000Z","updated_at":"2023-01-28T21:11:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d39159c-07fa-4e27-baaf-b7b6c8e87ba1","html_url":"https://github.com/checkly/checkly-ci-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-ci-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-ci-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-ci-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-ci-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/checkly","download_url":"https://codeload.github.com/checkly/checkly-ci-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940579,"owners_count":20045883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T03:25:14.024Z","updated_at":"2025-10-24T14:46:28.759Z","avatar_url":"https://github.com/checkly.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# checkly-ci-test\n\n## Heroku CI\n\nIf you are using Heroku CI, you can add a post-deploy step in your `app.json` file:\n```json\n{\n    \"scripts\": {\n      \"postdeploy\": \"echo 'Deployment finished.' \u0026\u0026 curl 'https://api-test.checklyhq.com/check-groups/4/trigger/$CHECKLY_TOKEN' \u003e $PWD/checkly.json' \u0026\u0026 if [ $(grep -c '\\\"hasFailures\\\":true' $PWD/checkly.json) -ne 0 ]; then exit 1; fi\"\n    }\n}\n```\n\nYou will also need to set [config variables](https://devcenter.heroku.com/articles/config-vars) for your Heroku app to set your `CHECKLY_TOKEN`.\n\n\n## Jenkins\n\nIf you have an existing Jenkins pipeline, you can add an additional stage after you have deployed your application. It could look as follows:\n\n```groovy\nstage('Trigger Checkly') {\n  steps {\n      sh 'echo \"Deployment finished.\"'\n      // Call Checkly trigger\n      sh 'curl \"https://api-test.checklyhq.com/check-groups/4/trigger/${CHECKLY_TOKEN}\" \u003e ${PWD}/checkly.json'\n      // Exit with an error status if we find more than 0 \"hasFailures: true\" in the output\n      sh 'if [ $(grep -c \\'\"hasFailures\":true\\' $PWD/checkly.json) -ne 0 ]; then exit 1; fi'\n  }\n}\n```\n\nFor standalone jobs, an additional build step of type `Execute shell` achieves a similar outcome. An exaple of its content could be as follows:\n\n```groovy\necho \"Deployment finished.\"\n// Call Checkly trigger\ncurl \"https://api-test.checklyhq.com/check-groups/4/trigger/${CHECKLY_TOKEN}\" \u003e ${PWD}/checkly.json\n// Exit with an error status if we find more than 0 \"hasFailures: true\" in the output\nif [ $(grep -c \\'\"hasFailures\":true\\' $PWD/checkly.json) -ne 0 ]; then exit 1; fi\n```\n\nMake sure to set the `CHECKLY_TOKEN` as an [environment variable](https://jenkins.io/doc/book/pipeline/jenkinsfile/#handling-credentials) in your job config.\n## CircleCI\n\nIf you are using CircleCI in your project, you can add additional steps straight into your `config.yml` file:\n```yml\n- run:\n    name: Trigger Checkly\n    command: |\n      echo \"Deployment finished.\"\n      curl \"https://api-test.checklyhq.com/check-groups/4/trigger/${CHECKLY_TOKEN}\" \u003e ${PWD}/checkly.json\n      if [ $(grep -c \\'\"hasFailures\":true\\' $PWD/checkly.json) -ne 0 ]; then exit 1; fi\n```\n\nMake sure to remember to set the `CHECKLY_TOKEN` from your CircleCI project's `Environment Variables` settings.\n\n## Travis CI\n\n```yml\n  - npm run test:unit  \n  # Call Checkly trigger\n  - curl \"https://api-test.checklyhq.com/check-groups/4/trigger/$CHECKLY_TOKEN\" \u003e $PWD/checkly.json\n  # Exit with an error status if we find more than 0 \"hasFailures: true\" in the output\n  - if [ $(grep -c '\"hasFailures\":true' $PWD/checkly.json) -ne 0 ]; then exit 1; fi\n```\n\n\n## Project setup\n```\nnpm install\n```\n\n### Compiles and hot-reloads for development\n```\nnpm run serve\n```\n\n### Compiles and minifies for production\n```\nnpm run build\n```\n\n### Lints and fixes files\n```\nnpm run lint\n```\n\n### Customize configuration\nSee [Configuration Reference](https://cli.vuejs.org/config/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckly%2Fcheckly-ci-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckly%2Fcheckly-ci-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckly%2Fcheckly-ci-test/lists"}