fix
This commit is contained in:
commit
840eb28434
|
@ -15,7 +15,6 @@
|
|||
/public/tmp/*
|
||||
/tmp/*
|
||||
/public/cache/*
|
||||
.gitignore
|
||||
/config/newrelic.yml
|
||||
/public/images/avatars/*
|
||||
/Gemfile
|
||||
|
@ -40,3 +39,6 @@ public/javascripts/wechat/node_modules/
|
|||
tmux*.log
|
||||
config/wechat.yml
|
||||
config/oneapm.yml
|
||||
|
||||
/vendor
|
||||
README.rdoc
|
||||
|
|
|
@ -107,7 +107,7 @@ class PullRequestsController < ApplicationController
|
|||
# 自动生成配置Jenkinsjob,在merge事件的时候触发jenkins、sonar
|
||||
# merge发送的时候还没有接收,所以分析对象应该源项目
|
||||
language = swith_language_type(@project.language)
|
||||
exec_jenkins(source_branch, @project.gpid, git_url, job_name, language)
|
||||
# exec_jenkins(source_branch, @project.gpid, git_url, job_name, language)
|
||||
logger.info("33333333333333333333")
|
||||
qa = QualityAnalysis.create(:project_id => @project.id, :author_login => User.current.login, :sonar_version => 1, :path => "./",
|
||||
:branch => source_branch, :language => "java", :sonar_name => "#{job_name}")
|
||||
|
|
Loading…
Reference in New Issue