• Grzegorz Bizon's avatar
    Improve commit builds API endpoint RESTful behavior · b9b95a9f
    Grzegorz Bizon authored
    1. Return 404 if commit is not found (RESTful resource not found)
    2. Return an empty array if pipeline is not found (resource present, no
       associated builds found)
    3. Return an empty array if pipeline found but no builds there (resource
       present, no associated builds)
    b9b95a9f
builds.rb 7.41 KB