Skip to content
Snippets Groups Projects

Make job-finding error messages clearer

Closed Bryan R requested to merge wip/b/cleaner-error-message into master
1 unresolved thread

See #80 (closed) for context.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
19 19
20 20 job_id=$(jq ". | map(select(.name == \"$job_name\")) | .[0].id" < "$resp")
21 21 if [ "$job_id" = "null" ]; then
22 echo "Error finding job $job_name for $pipeline_id in project $project_id:" >&2
23 cat "$resp" >&2
  • closed

  • Please register or sign in to reply
    Loading