Class: Fuci::TeamCity::Build
- Inherits:
-
Struct
- Object
- Struct
- Fuci::TeamCity::Build
- Defined in:
- lib/fuci/team_city/build.rb
Constant Summary collapse
- ERROR =
'ERROR'
- SUCCESS =
'SUCCESS'
- LOG_RESOURCE =
lambda { |id| "/downloadBuildLog.html?buildId=#{id}" }
Instance Attribute Summary collapse
-
#element ⇒ Object
Returns the value of attribute element.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#element ⇒ Object
Returns the value of attribute element
8 9 10 |
# File 'lib/fuci/team_city/build.rb', line 8 def element @element end |
Class Method Details
.create ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/fuci/team_city/build.rb', line 28 def self.create if branch_name = Fuci::TeamCity::CliOptions.branch project.latest_build_from branch_name else create_with_default_branch end end |