Revision 00b62f1d12f20e84eee3231a51d5024b138bc515 authored by Maxime Vanza on 17 August 2021, 16:26:44 UTC, committed by Maxime Vanza on 17 August 2021, 16:26:44 UTC
1 parent ac17add
get_ci_build_times.sh
#!/bin/bash
API_TOKEN=$1
JOB_NAME=$2
curl -H "Circle-Token: $API_TOKEN" 'https://circleci.com/api/v1.1/project/github/ICIJ/datashare?limit=100' | jq -r ".[] | {start_time, build_time_millis, job_name: .build_parameters.CIRCLE_JOB} | select(.job_name==\"$JOB_NAME\") | [.start_time, .build_time_millis] | @csv"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...