You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/09/29 14:54:16 UTC

[GitHub] [incubator-devlake] likyh opened a new issue, #3264: [Refactor][jenkins] check if jenkins support only collecting some repos.

likyh opened a new issue, #3264:
URL: https://github.com/apache/incubator-devlake/issues/3264

   ## What and why to refactor
   check if jenkins support only collecting some repos.
   
   ## Describe the solution you'd like
   How to refactor? 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] likyh commented on issue #3264: [Refactor][jenkins] check if jenkins support only collecting some repos.

Posted by GitBox <gi...@apache.org>.
likyh commented on issue #3264:
URL: https://github.com/apache/incubator-devlake/issues/3264#issuecomment-1272580058

   Collect jobs name is so fast at it can request many jobs in one page(request).
   We needn't filter names in jobs, because we can collect all jobs and choose what we need.
   
   
   So we can query `https://HOST/api/json?tree=jobs[name]{0,10000}` in config-ui to help users choose what job they want. Then we just need to collect all jobs and filter the jobs that the user needs to request build and stage.
   
   
   By the way, pipeline document like [this](https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/2de39372527f413351fe8b47c92c306c2c7bfdb8/rest-api). We can use `GET /job/:job-name/wfapi/runs` to collect stage quicker in future.
   but now it supports since but does not support [pagination](https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/2de39372527f413351fe8b47c92c306c2c7bfdb8/rest-api/src/main/java/com/cloudbees/workflow/rest/external/JobExt.java#L134).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] likyh closed issue #3264: [Refactor][jenkins] check if jenkins support only collecting some repos.

Posted by GitBox <gi...@apache.org>.
likyh closed issue #3264: [Refactor][jenkins] check if jenkins support only collecting some repos.
URL: https://github.com/apache/incubator-devlake/issues/3264


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org