Skip to content
This repository was archived by the owner on Jun 12, 2020. It is now read-only.
This repository was archived by the owner on Jun 12, 2020. It is now read-only.

Issue with URL settings in js #13

@jwiwo

Description

@jwiwo

Hi all,

our URL for Splunk Web is not set as defined by default (i.e., splunkserver:8000/en-US/app/splunk_app_jenkins/viewname), but we additionally set the hostname in the URL (i.e., splunkserver:8000/hostname/en-US/app/splunk_app_jenkins/viewname). When clicking on any view in the app the view is blank due to the additionally set hostname in the URL. When changing this in the js scripts (we hardcoded the hostname in the corresponding settings in the js scripts for all views), the language settings in the Job Insight, Audit Trail and Jenkins Health views are not adapted dynamically according to the users browser settings and hence are still blank. E.g. when the users default browser language is set to de-DE, the before mentioned sites are blank, all others work as expected. When the user then manually changes the language de-DE to en-US, the sites show the expected results.

Is there any difference in the language settings for these sites compared to the other views of the Jenkins app?
And could the corresponding settings be changed in a way that the URLs in any format are accepted by the Splunk App for Jenkins? - this would especially be important for us since otherwise the view's js scripts would need to be troubleshooted and changed any time we update the app, which is really tedious. Or could you think of any better way to overcome this issue?

We are using
Splunk Enterprise 7.2.6
Splunk App for Jenkins 2.0.1

Thanks and BR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions