class Artifactory::Resource::Build

Overview

See https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-BuildUpload

Included Modules

Extended Modules

Defined in:

artifactory/resources/build.cr

Constant Summary

BASE_URL = "artifactory/api/build"

Constructors

Instance Method Summary

Instance methods inherited from class Artifactory::Resource::Base

client : Artifactory::Client client, client=(client : Artifactory::Client) client=, to_s(io) to_s, url_safe(value) url_safe

Constructor Detail

def self.new(name : String, version : String, number : String, started : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def agent : Build::Agent | Nil #

CI Server information


[View source]
def agent=(agent : Build::Agent | Nil) #

CI Server information


[View source]
def artifactory_plugin_version : String | Nil #

[View source]
def artifactory_plugin_version=(artifactory_plugin_version : String | Nil) #

[View source]
def artifactory_principal : String | Nil #

[View source]
def artifactory_principal=(artifactory_principal : String | Nil) #

[View source]
def build_agent : Build::Agent | Nil #

[View source]
def build_agent=(build_agent : Build::Agent | Nil) #

[View source]
def build_retention : Build::BuildRetention #

[View source]
def build_retention=(build_retention : Build::BuildRetention) #

[View source]
def build_type : String | Nil #

[View source]
def build_type=(build_type : String | Nil) #

[View source]
def duration_millis : Int32 | Nil #

[View source]
def duration_millis=(duration_millis : Int32 | Nil) #

[View source]
def issues : Build::Issues #

[View source]
def issues=(issues : Build::Issues) #

[View source]
def license_control : Build::LicenseControl #

[View source]
def license_control=(license_control : Build::LicenseControl) #

[View source]
def modules : Array(Module) #

[View source]
def modules=(modules : Array(Module)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def number : String #

[View source]
def number=(number : String) #

[View source]
def properties : Hash(String, String) #

[View source]
def properties=(properties : Hash(String, String)) #

[View source]
def started : String #

Build start time in the format of yyyy-MM-dd'T'HH:mm:ss.SSSZ


[View source]
def started=(started : String) #

Build start time in the format of yyyy-MM-dd'T'HH:mm:ss.SSSZ


[View source]
def upload #

[View source]
def url : String | Nil #

[View source]
def url=(url : String | Nil) #

[View source]
def vcs_revision : String | Nil #

[View source]
def vcs_revision=(vcs_revision : String | Nil) #

[View source]
def vcs_url : String | Nil #

[View source]
def vcs_url=(vcs_url : String | Nil) #

[View source]
def version : String #

[View source]
def version=(version : String) #

[View source]