取消注释
This commit is contained in:
parent
298b673560
commit
07031ea8bc
|
|
@ -136,12 +136,10 @@ class GamesController < ApplicationController
|
|||
step = game_challenge.try(:position)
|
||||
params = {:jobNameForInstance => "#{jobName}", :buildID => "#{taskId}", :step => "#{step}", :instanceGitURL => "#{gitUrl}", :instanceChallenge => "#{step}"}
|
||||
uri = URI("#{jenkins_shixuns}/jenkins-exec/api/buildJobForInstance")
|
||||
=begin
|
||||
res = uri_exec uri, params
|
||||
if (res && res['code'] != 0)
|
||||
raise("Build job failed")
|
||||
end
|
||||
=end
|
||||
render :json => {:result => "success"}
|
||||
end
|
||||
rescue
|
||||
|
|
|
|||
Loading…
Reference in New Issue