redirect to repository when delete jenkins job

This commit is contained in:
huang 2016-07-20 11:20:48 +08:00
parent e99c76a0de
commit 3a43b7beb5
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class QualityAnalysisController < ApplicationController
logger.info("result: delete job ###################==>#{d_job}") logger.info("result: delete job ###################==>#{d_job}")
qa.delete qa.delete
respond_to do |format| respond_to do |format|
format.html{redirect_to project_repository_path(@project)} format.html{redirect_to :controller => 'repositories', :action => 'show', :id => @project, :repository_id => gitlab_repository(@project).identifier}
end end
rescue Exception => e rescue Exception => e
puts e puts e