Class: Bard::CI

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/bard/ci.rb,
lib/bard/ci/local.rb,
lib/bard/ci/jenkins.rb,
lib/bard/ci/github_actions.rb

Defined Under Namespace

Classes: GithubActions, Jenkins, Local

Instance Method Summary collapse

Constructor Details

#initialize(project_name, branch, local: false) ⇒ CI

Returns a new instance of CI.



5
6
7
8
9
# File 'lib/bard/ci.rb', line 5

def initialize project_name, branch, local: false
  @project_name = project_name
  @branch = branch
  @local = !!local
end