Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62821

Splunk Plugin "build_analysis" Path In Jobs Not Directing To The Correct Path To "Splunk App For Jenkins"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • splunk-devops-plugin
    • Jenkins ver. 2.204.2
      Splunk devops and extension plugin 1.9.3
      Centos linux
      Google Chrome
      OpenJDK

    Description

      Issue:

      Inside a job, when we click on the Splunk option on the lefthand side, I'm being directed to 
      https://<hostname>:<port>/app/splunk_app_jenkins/build_analysis?<some_data>, which in turn gives me a "Page Not Found" response.
      But when I remove the "_analysis" from the URL that is,

      https://<hostname>:<port>/app/splunk_app_jenkins/build
      ?<some_data>, it shows me the required data.

      Could you please look into this and change the redirection URL to correct build analysis URL?

      Attachments

        Activity

          thesanmi Sanmi Oyenuga added a comment -

          +1 for this update

          thesanmi Sanmi Oyenuga added a comment - +1 for this update
          liammccann Liam added a comment -

          + 1 for this update, would make things so much easier

          liammccann Liam added a comment - + 1 for this update, would make things so much easier
          liammccann Liam added a comment -

          I think it would be a case of updating this line https://github.com/jenkinsci/splunk-devops-plugin/blob/develop/splunk-devops/src/main/java/com/splunk/splunkjenkins/links/BuildableItemActionFactory.java#L30

          from 

                  return Collections.singleton(new LinkSplunkAction("build_analysis", query, "Splunk"));
          

          to

                  return Collections.singleton(new LinkSplunkAction("build", query, "Splunk"));r
          

          is merge request accepted here?

          liammccann Liam added a comment - I think it would be a case of updating this line https://github.com/jenkinsci/splunk-devops-plugin/blob/develop/splunk-devops/src/main/java/com/splunk/splunkjenkins/links/BuildableItemActionFactory.java#L30 from  return Collections.singleton( new LinkSplunkAction( "build_analysis" , query, "Splunk" )); to return Collections.singleton( new LinkSplunkAction( "build" , query, "Splunk" ));r is merge request accepted here?
          fengxx Ted Xiao added a comment -

          I thought it has been feeded back to app developer and it can be fixed by adding an URL route alias in app 2.x to keep backward comparability, not sure it is fixed in latest version, please check with splunk app owner

          fengxx Ted Xiao added a comment - I thought it has been feeded back to app developer and it can be fixed by adding an URL route alias in app 2.x to keep backward comparability, not sure it is fixed in latest version, please check with splunk app owner

          People

            fengxx Ted Xiao
            sanket_jadhav7 Sanket Jadhav
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: