Method: Cnvrg::Files#start_commit
- Defined in:
- lib/cnvrg/files.rb
#start_commit(new_branch, force: false, exp_start_commit: nil, job_slug: nil, job_type: nil) ⇒ Object
656 657 658 659 660 661 |
# File 'lib/cnvrg/files.rb', line 656 def start_commit(new_branch,force:false, exp_start_commit:nil, job_slug: nil, job_type: nil) response = Cnvrg::API.request("#{base_resource}/commit/start", 'POST', {project_slug: @project_slug, new_branch: new_branch,force:force, username: @owner, exp_start_commit:exp_start_commit, job_slug: job_slug, job_type: job_type}) Cnvrg::CLI.is_response_success(response,false) return response end |