mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:actions重新运行接口
This commit is contained in:
@@ -96,6 +96,9 @@ defaults format: :json do
|
||||
post :enable
|
||||
resources :runs, only: [:index] do
|
||||
post '/jobs/:job', to: 'runs#job_show'
|
||||
post '/rerun', to: 'runs#rerun'
|
||||
post '/jobs/:job/rerun', to: 'runs#job_rerun'
|
||||
get '/jobs/:job/logs', to: 'runs#job_logs'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user