fixed reposyncer job_type
This commit is contained in:
parent
ebe8df8221
commit
4941e08684
|
@ -57,7 +57,7 @@ class ObRepositorySyncsController < ApplicationController
|
|||
job.github_branch = "#{params[:github_branch]}"
|
||||
job.gitee_branch = "#{params[:gitee_branch]}"
|
||||
job.gitlink_branch = "#{params[:gitlink_branch]}"
|
||||
job.job_type = "#{params[:type]}"
|
||||
job.job_type = "#{params[:job_type]}"
|
||||
job.base = "#{params[:base]}"
|
||||
job.job_id = job_id
|
||||
job.save
|
||||
|
|
|
@ -58,7 +58,7 @@ class ObRepositorySync::ApiService < ApplicationService
|
|||
"github_branch": "#{params[:github_branch]}",
|
||||
"gitee_branch": "#{params[:gitee_branch]}",
|
||||
"gitlink_branch": "#{params[:gitlink_branch]}",
|
||||
"type": "#{params[:type]}",
|
||||
"type": "#{params[:job_type]}",
|
||||
"base": "#{params[:base]}"
|
||||
}
|
||||
url = URI("#{domain}/cerobot/projects/#{@project_name}/jobs")
|
||||
|
|
Loading…
Reference in New Issue