News Feed Jenkins empty feed



  • Hi,

    Back again about using News Feed default module to retrieve data from Jenkins server.

    Jenkins provides several RSS feeds such as all failed builds for example.

    On the nice case where there is no failed build the feed is quite empty but still available.

    In this situation News Feed module shows “Loading …” text.

    Is this the expected behaviour or should it show another status or eventually nothing ? Honestly I was expecting the last one ^^

    Here is a copy of this kind of feed where I obfuscated IP and UUID.

    
      Tous failed builds2001-01-01T00:00:00ZJenkins Serverurn:uuid:00000000-0000-0000-0000-000000000000
    

    PS : No Proxy problem anymore ;-)



  • Here is a better view of what is received by News Feed module, just replaced <> by [] of course …

    Would it be possible that module replies nothing at all instead of “Loading …” ?

    [?xml version=“1.0” encoding=“UTF-8”?]
    [feed xmlns=“http://www.w3.org/2005/Atom”][title]Tous failed builds[/title][link type=“text/html” href=“http://000.000.000.000:8080/” rel=“alternate”/][updated]2001-01-01T00:00:00Z[/updated][author][name]Jenkins Server[/name][/author][id]urn:uuid:00000000-0000-0000-0000-000000000000[/id][/feed]



  • Seems commenting following lines in newsfeed.js does the trick but it removes completely “Loading …” status when one could still use it.

    Would you accept if I push a modification to add another configuration parameter to this module to manage this behaviour ?

    I prefer to ask before risking refusal …

    // wrapper.innerHTML = this.translate(“LOADING”);
    // wrapper.className = “small dimmed”;


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.