175
175
Uploads the result of a Jenkins job to S3.
178
def __init__(self, s3, jenkins_build, unique_id=None, no_prefixes=False,
178
def __init__(self, s3, jenkins_build, unique_id=None, no_prefixes=False):
181
180
self.jenkins_build = jenkins_build
182
181
self.unique_id = unique_id
183
182
self.no_prefixes = no_prefixes
187
185
def factory(cls, credentials, jenkins_job, build_number, bucket,
188
directory, unique_id=None, no_prefixes=False,
192
189
:param credentials: Jenkins credential