debian-mirror-gitlab/spec/contracts/consumer/endpoints/project/pipelines.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
348 B
JavaScript
Raw Normal View History

2022-08-13 15:12:31 +05:30
import { request } from 'axios';
export function getProjectPipelines(endpoint) {
const { url } = endpoint;
return request({
method: 'GET',
baseURL: url,
url: '/gitlab-org/gitlab-qa/-/pipelines.json',
headers: { Accept: '*/*' },
params: {
scope: 'all',
page: 1,
},
}).then((response) => response.data);
}