summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/stores/modules/pipelines/utils.js
blob: 95716e0a0c6f5279e8644740ebf071412ec45373 (plain)
1
2
3
4
5
6
7
8
9
10
export const normalizeJob = job => ({
  id: job.id,
  name: job.name,
  status: job.status,
  path: job.build_path,
  rawPath: `${job.build_path}/raw`,
  started: job.started,
  output: '',
  isLoading: false,
});