• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

YOU54F / cypress-slack-reporter / 1656
88%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2020 11:50PM UTC
Jobs 2
Files 1
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1656

push

travis-ci

web-flow
fix: update artefact url for cirleci (#446)

* fix: update artefact url for cirleci

CircleCI Artifact Notes
CircleCI have recently changed the API for retrieving API's. A URL is generated for artefacts in the format

https://${CI_BUILD_NUM}-${CI_PROJECT_ID}-gh.circle-artifacts.com/0

You can get the CIRCLE_PROJECT_ID by checking https://circleci.com/docs/api/#artifacts-of-a-build

For example. the ID for this project is 177880476, you can see it in the following URL

https://circleci.com/api/v1.1/project/github/YOU54F/cypress-slack-reporter/1/artifacts

which will return

[ {
  "path" : "root/app/mochareports/.gitignore",
  "pretty_path" : "root/app/mochareports/.gitignore",
  "node_index" : 0,
  "url" : "https://1-177880476-gh.circle-artifacts.com/0/root/app/mochareports/.gitignore"
},
...
]
In order to correctly construct your artifact URL, you will need to manually retrieve this ID and set it as an env var titled CIRCLE_PROJECT_ID

EXPORT CIRCLE_PROJECT_ID=177880476

in windows

SET CIRCLE_PROJECT_ID=177880476

or in your CircleCI project's environment page.

I have raised a question on circleCI's support page to see if they can expose this as an env param

https://discuss.circleci.com/t/artifact-url-how-can-we-retrieve-the-project-id-programatically/34654

74 of 78 branches covered (94.87%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

198 of 201 relevant lines covered (98.51%)

13.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1656.1 24 Feb 2020 11:50PM UTC 0
97.49
Travis Job 1656.1
2 1656.2 24 Feb 2020 11:55PM UTC 0
97.49
Travis Job 1656.2
Source Files on build 1656
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1656
  • a52d3bd1 on github
  • Prev Build on master (#1649)
  • Next Build on master (#1658)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc