Debug output
This commit is contained in:
parent
022089adc8
commit
8490e9f9ce
|
@ -125,10 +125,13 @@ class Travis::Api::App
|
||||||
end
|
end
|
||||||
|
|
||||||
post "/:job_id/debug" do
|
post "/:job_id/debug" do
|
||||||
|
Travis.logger.debug "Reached endpoint"
|
||||||
job = service(:find_job, params).run
|
job = service(:find_job, params).run
|
||||||
|
Travis.logger.debug "found job: #{job}"
|
||||||
cfg = job.config
|
cfg = job.config
|
||||||
cfg.merge! debug_data
|
cfg.merge! debug_data
|
||||||
job.save!
|
job.save!
|
||||||
|
status 200
|
||||||
end
|
end
|
||||||
|
|
||||||
def archive_url(path)
|
def archive_url(path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user