取消注释

This commit is contained in:
huang 2017-04-19 20:45:13 +08:00
parent 298b673560
commit 07031ea8bc
1 changed files with 0 additions and 2 deletions

View File

@ -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