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"

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • splunk-devops-plugin
    • Jenkins ver. 2.204.2
      Splunk devops and extension plugin 1.9.3
      Centos linux
      Google Chrome
      OpenJDK

      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?

          [JENKINS-62821] Splunk Plugin "build_analysis" Path In Jobs Not Directing To The Correct Path To "Splunk App For Jenkins"

          Sanmi Oyenuga added a comment -

          +1 for this update

          Sanmi Oyenuga added a comment - +1 for this update

          Liam added a comment -

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

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

          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?

          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?

          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

          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

          Fernando Nasser added a comment - It is not fixed in here yet: https://github.com/jenkinsci/splunk-devops-plugin/blob/master/splunk-devops/src/main/java/com/splunk/splunkjenkins/links/BuildableItemActionFactory.java How can we get a splunk-devops-plugin with this fix?

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

              Created:
              Updated:
              Resolved: