redirect to repository when delete jenkins job
This commit is contained in:
parent
e99c76a0de
commit
3a43b7beb5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue