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

wooga / atlas-github / 67 / 2
39%
master: 39%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2019 07:21AM UTC
Files 9
Run time 0s
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

06 Feb 2019 07:20AM UTC coverage: 99.351% (+0.005%) from 99.346%
67.2

push

jenkins

Fix release asset upload with special characters in filename (#24)

Description
===========

The API `GHAsset uploadAsset(File file, String contentType)` in
`GHRelease` is does no `URLEncode` for the given file name. The filename
is used in the github API call as is:

```java
    String url = format("https://uploads.github.com%s/releases/%d/assets?name=%s",
                     owner.getApiTailUrl(""), getId(), filename);
```

This leads to upload errors when trying to publish files with special
characters. This patch circumvents this issue by calling the second API
`GHAsset uploadAsset(String filename, InputStream stream, String contentType)` with a URL encoded filename.

Note
----

Github renames release assets with special characters.

Changes
=======

![FIX] release asset upload with special characters in filename

306 of 308 relevant lines covered (99.35%)

0.99 hits per line

Source Files on job 67.2
  • Tree
  • List 0
  • Changed 9
  • Source Changed 9
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 67
  • a8b56139 on github
  • Prev Job for on master (#65.1)
  • Next Job for on master (#71.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc