Skip to content
Snippets Groups Projects
Commit 7d60876b authored by Robert Schilling's avatar Robert Schilling
Browse files

Backport new behavior to CI API

parent c280acb0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -217,6 +217,7 @@ module Ci
build = Ci::Build.find_by_id(params[:id])
authenticate_build!(build)
 
status(200)
build.erase_artifacts!
end
end
Loading
Loading
Loading
Loading
@@ -8,6 +8,8 @@ module Ci
end
delete "delete" do
authenticate_runner!
status(200)
Ci::Runner.find_by_token(params[:token]).destroy
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment