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

support geting the jobs using remote access api

    XMLWordPrintable

Details

    Description

      I have a program that used to get the job information under a specific view using remote access API. but when i used nested view ,i find it i can't do it anymore, the api does not return the jobs info because nested view doesn't support it.
      would you add the feature in the next version of nested view plugin?

      Attachments

        Activity

          ytsolar ytsolar created issue -
          mindless Alan Harder added a comment -

          can you explain in more detail?
          http://YOURHUDSON/job/JOBNAME/api/ should always work, right?
          what URL is not working and what error do you get?

          mindless Alan Harder added a comment - can you explain in more detail? http://YOURHUDSON/job/JOBNAME/api/ should always work, right? what URL is not working and what error do you get?
          ytsolar ytsolar added a comment -

          yes, it works, but http://YOURHUDSON/view/VIEWNAME/api/ does not return the job information.
          there is no error, but didn't return the job information when i use nested view. if i don't use nested view, the url http://YOURHUDSON/view/VIEWNAME/api/ returns the job information under this view

          ytsolar ytsolar added a comment - yes, it works, but http://YOURHUDSON/view/VIEWNAME/api/ does not return the job information. there is no error, but didn't return the job information when i use nested view. if i don't use nested view, the url http://YOURHUDSON/view/VIEWNAME/api/ returns the job information under this view
          mindless Alan Harder added a comment -

          oh, now I understand the request.. as the nested view doesn't list any jobs itself, this api result is indeed empty. Are you asking for the api to list info about all jobs in all the views under this nested view?

          mindless Alan Harder added a comment - oh, now I understand the request.. as the nested view doesn't list any jobs itself, this api result is indeed empty. Are you asking for the api to list info about all jobs in all the views under this nested view?
          ytsolar ytsolar added a comment -

          yes, can you tell me how

          ytsolar ytsolar added a comment - yes, can you tell me how
          mindless Alan Harder made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/nested-view/src/main/java/hudson/plugins/nested_view/NestedView.java
          http://jenkins-ci.org/commit/36100
          Log:
          [FIXED JENKINS-7489] export nested views via report api

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/nested-view/src/main/java/hudson/plugins/nested_view/NestedView.java http://jenkins-ci.org/commit/36100 Log: [FIXED JENKINS-7489] export nested views via report api
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          ctapobep Stanislav Bashkyrtsev made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137588 ] JNJira + In-Review [ 204542 ]

          People

            mindless Alan Harder
            ytsolar ytsolar
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: