Module: InchCI::Worker::Project::BuildTags

Defined in:
lib/inch_ci/worker/project/build_tags.rb

Overview

The BuildTags worker is responsible for “building” projects, i.e. cloning the repo, getting all tag names and then analysing each revision.

Defined Under Namespace

Classes: HandleWorkerOutput, ShellInvocation

Class Method Summary collapse

Class Method Details

.enqueue(url, branch_name = "master") ⇒ void

This method returns an undefined value.

Parameters:

  • url (String)
  • branch_name (String) (defaults to: "master")

11
12
13
14
# File 'lib/inch_ci/worker/project/build_tags.rb', line 11

def self.enqueue(url, branch_name = "master")
  branch = Store::EnsureProjectAndBranch.call(url, branch_name)
  ShellInvocation.perform_async(url, branch_name)
end