Title: Failing on GitLab CI v9+ · Issue #96 · codecov/codecov-python · GitHub
Open Graph Title: Failing on GitLab CI v9+ · Issue #96 · codecov/codecov-python
X Title: Failing on GitLab CI v9+ · Issue #96 · codecov/codecov-python
Description: Hi ! So GitLab-CI has been updating from v8 to v9 lately, and they transitioned from builds to job in their whole nomenclature. As such, some job variables have been renamed, causing codecov to crash when called in the CI environment. Fo...
Open Graph Description: Hi ! So GitLab-CI has been updating from v8 to v9 lately, and they transitioned from builds to job in their whole nomenclature. As such, some job variables have been renamed, causing codecov to cra...
X Description: Hi ! So GitLab-CI has been updating from v8 to v9 lately, and they transitioned from builds to job in their whole nomenclature. As such, some job variables have been renamed, causing codecov to cra...
Opengraph URL: https://github.com/codecov/codecov-python/issues/96
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failing on GitLab CI v9+","articleBody":"Hi !\r\n\r\nSo GitLab-CI has been updating from v8 to v9 lately, and they transitioned from *builds* to *job* in their whole nomenclature. As such, some job variables have been renamed, causing `codecov` to crash when called in the CI environment. For instance (this example is actually what makes it crash for me) `CI_BUILD_REPO` has been renamed `CI_REPOSITORY_URL`, so I get the following exception when I try to report:\r\n```shell\r\n _____ _\r\n / ____| | |\r\n | | ___ __| | ___ ___ _____ __\r\n | | / _ \\ / _ |/ _ \\/ __/ _ \\ \\ / /\r\n | |___| (_) | (_| | __/ (_| (_) \\ V /\r\n \\_____\\___/ \\____|\\___|\\___\\___/ \\_/\r\n v2.0.7\r\n\r\n==\u003e Detecting CI provider\r\nTraceback (most recent call last):\r\n File \"/usr/local/bin/codecov\", line 11, in \u003cmodule\u003e\r\n sys.exit(main())\r\n File \"/usr/local/lib/python3.6/site-packages/codecov/__init__.py\", line 473, in main\r\n slug=os.getenv('CI_BUILD_REPO').split('/', 3)[-1].replace('.git', ''),\r\nAttributeError: 'NoneType' object has no attribute 'split'\r\nERROR: Job failed: exit code 1\r\n```\r\n\r\nI'll submit a PR shortly.","author":{"url":"https://github.com/althonos","@type":"Person","name":"althonos"},"datePublished":"2017-04-25T22:07:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/96/codecov-python/issues/96"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f46b89ce-145a-722c-1277-c5035b186032 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0D4:18C93:1A8D91F:24C080D:6A4EBCF7 |
| html-safe-nonce | 6ab2e589ca129ca4879aef2048566099b45adcaa493fffc17e68b03aa08de0d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEQ0OjE4QzkzOjFBOEQ5MUY6MjRDMDgwRDo2QTRFQkNGNyIsInZpc2l0b3JfaWQiOiI2MjUyNjA5MjU1MjQ2ODM5MDMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1e0717e029e3e0ec0da0d993a12f3c4244346bbf9a20d373c76353eacb57160e |
| hovercard-subject-tag | issue:224286443 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codecov/codecov-python/96/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c37d8bd80ea32cd08d7d21d4909399c64853d340a30347d80bb898c5fb821b7/codecov/codecov-python/issues/96 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c37d8bd80ea32cd08d7d21d4909399c64853d340a30347d80bb898c5fb821b7/codecov/codecov-python/issues/96 |
| og:image:alt | Hi ! So GitLab-CI has been updating from v8 to v9 lately, and they transitioned from builds to job in their whole nomenclature. As such, some job variables have been renamed, causing codecov to cra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | althonos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git |
| octolytics-dimension-user_id | 8226205 |
| octolytics-dimension-user_login | codecov |
| octolytics-dimension-repository_id | 22685735 |
| octolytics-dimension-repository_nwo | codecov/codecov-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22685735 |
| octolytics-dimension-repository_network_root_nwo | codecov/codecov-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width