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

support geting the jobs using remote access api

    Details

    • Similar Issues:

      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

          Hide
          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?

          Show
          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?
          Hide
          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

          Show
          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
          Hide
          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?

          Show
          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?
          Hide
          ytsolar ytsolar added a comment -

          yes, can you tell me how

          Show
          ytsolar ytsolar added a comment - yes, can you tell me how
          Hide
          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

          Show
          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: