Filter out jobs with no artifacts
Add with_artifacts argument to resolver and withArtifacts: true to query Pass it on to the jobs finder, filter out jobs with no artifacts if true Add test for filtering Add new argument to graphql docs
显示
- app/assets/javascripts/artifacts/graphql/queries/get_job_artifacts.query.graphql 1 个添加, 0 个删除...artifacts/graphql/queries/get_job_artifacts.query.graphql
- app/finders/ci/jobs_finder.rb 9 个添加, 0 个删除app/finders/ci/jobs_finder.rb
- app/graphql/resolvers/project_jobs_resolver.rb 10 个添加, 2 个删除app/graphql/resolvers/project_jobs_resolver.rb
- doc/api/graphql/reference/index.md 1 个添加, 0 个删除doc/api/graphql/reference/index.md
- spec/finders/ci/jobs_finder_spec.rb 27 个添加, 0 个删除spec/finders/ci/jobs_finder_spec.rb
- spec/graphql/types/project_type_spec.rb 1 个添加, 1 个删除spec/graphql/types/project_type_spec.rb
加载中
想要评论请 注册 或 登录