Comments (14)
We're seeing this issue as well ... looking at the network panel in chrome it's reporting the request for https://server.fqdn/job/project/job/repo/job/branch/badge/icon?style=ball-16x16
as text/plain with a 0byte HTTP 200 response ...
Same with the other example ball style ... the regular rectangular badges are fine though ...
We do use the http://wiki.jenkins-ci.org/display/JENKINS/Green+Balls plugin though ... wonder if that is having an effect?
Edit: Confirming that the Green Balls plugin is what causes the issue with us, removing it displayed the images properly. Unfortunately I suspect I'll get push back on removing it... any chance to enable some sort of compatibility here?
from embeddable-build-status-plugin.
Hi @jeannich,
thank you for your feedback. I have one question: Can you please check if this is also happening when the job is NOT in running state?
Thank you,
Thomas
from embeddable-build-status-plugin.
Hi @thomas-dee , I confirm the issue happens also when job is NOT running.
The URL pointed by the images seems fine though.
I have this:
https://..../job/MyJobName/badge/icon?style=ball-16x16
https://..../job/MyJobName/badge/icon?style=ball-32x32
from embeddable-build-status-plugin.
Ok @jeannich, thank you. This is interesting since for me it is working fine... for both cases.
What browser are you using?
from embeddable-build-status-plugin.
Thanks for the follow up @thomas-dee
I tested on Chrome, IE, Edge and Firefox: same result.
No idea if it is related but you must know that my jenkins setup has a tiny issue.
I have this error message in Configuration pane:
"It appears that your reverse proxy set up is broken."
It has no effect on my intense usage of jenkins though.
My jenkins server is hosted on a Tomcat started on port 8443, then I use an iptable rule to connect external port 443 to internal 8443.
from embeddable-build-status-plugin.
@jeannich Well, exactly that might be the reason for the issue.
The "Jenkins URL" ("Manage Jenkins" -> "Configure System") needs to be set to the URL you use to access Jenkins in your browser.
from embeddable-build-status-plugin.
Same issue here. I am using a reverse proxy, too, but it is configured correctly and Jenkins does not complain.
When trying to access the ball-icon, i get a 404. The other styles work fine.
from embeddable-build-status-plugin.
Maybe related: The protected "Text-Only" badge also gives me a 404. The unprotected one works fine.
from embeddable-build-status-plugin.
@thomas-dee indeed when setting my jenkins URL to "https://foo:8443/" (instead of just "https://foo/") it works. I can see the bullets.
Still I find this strange as every other plugins and personal scripts are working fine with just "https://foo/".
There seem to be a round trip in this plugin to get bullet status. Maybe you could double check if there is something that can be improved in this plugin here?
@ChristianCiach 's comment tends to convince me there might be something doable on plugin side.
Thanks for the support !
from embeddable-build-status-plugin.
@jeannich Thanks for the input. You are right, there is a "round trip" to get the bullets.
The thing is, that the Jenkins API provides an "external" reference (i.e. URL) for the Jenkins balls. I haven't found out (yet) how to get the balls via internal reference.
Another way would be to "just copy" the current ball images and serve them by myself. But I'd like to do it the other way.
from embeddable-build-status-plugin.
ok @thomas-dee , I'll let you decide what to do with this topic.
Keep it as a 'bug', or switch it to enhancement request or some other treatment.
Again, thanks for the support
bests
from embeddable-build-status-plugin.
Hello,
I've same issue without Green Ball plugin :/
from embeddable-build-status-plugin.
I don't have Green Ball plugin and I don't have any proxies, also Jenkins URL is set correctly (tried machine's hostname, fqdn both with and without :443) - balls are not rendered.
Jenkins version 2.289.3 on windows server.
Also I'm pretty sure previous versions of jenkins had the very same issue, so it's a definitely long lasting bug.
from embeddable-build-status-plugin.
We're having this also. What I noticed is that the Content-Type
of the image isn't set, which cases the browser to refuse to render it. (We have X-Content-Type-Options: nosniff
set as a security measure.)
from embeddable-build-status-plugin.
Related Issues (20)
- Improve automated test coverage HOT 7
- Parameter name with spaces HOT 4
- copy build status URL from Jenkins branch/job page HOT 6
- Instructions on how to add a link with query parameters
- RFC: support for ENV to filter out PR builds HOT 2
- Support API Token in query params
- Badge examples incorrect for some jobs if opened directly from URL HOT 1
- Display the image on the build information page HOT 1
- Hello would HOT 1
- Badge in build from pull request shows wrong badge
- Unprotected URL and self-signed SSL HOT 1
- Question: setup badge width HOT 3
- Create Jenkins
- Create Bug-Report
- Unprotected URLs work for Anonymous user even without ViewStatus permission HOT 1
- Running selector on boolean build param
- builtin variables "description" does not get value HOT 1
- Build status for pipeline building multiple projects and branches HOT 2
- Update appears to have broken github readme links displaying "not run" HOT 2
- Announcement: ci.jenkins.io badges will be deactivated HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embeddable-build-status-plugin.