Add support for new option in s3 plugin.
Change-Id: I294576b9c5083b8a56cdf53e682b6eecabf7e166 Task: 4223 Story: 2001025
This commit is contained in:
parent
4fb2dd1200
commit
4b81ba5ab7
|
@ -4890,6 +4890,9 @@ def s3(registry, xml_parent, data):
|
|||
* **flatten** (`bool`) - Ignore the directory structure of the
|
||||
artifacts in the source project and copy all matching artifacts
|
||||
directly into the specified bucket. (default false)
|
||||
* **dont-wait-for-concurrent-builds** (`bool`) - Don't wait
|
||||
for completion of concurrent builds before publishing to S3
|
||||
(default false)
|
||||
:arg list metadata-tags:
|
||||
:metadata-tags:
|
||||
* **key** Metadata key for files from this build. It will be
|
||||
|
@ -4923,7 +4926,9 @@ def s3(registry, xml_parent, data):
|
|||
('uploadFromSlave', 'upload-from-slave', False),
|
||||
('managedArtifacts', 'managed-artifacts', False),
|
||||
('useServerSideEncryption', 's3-encryption', False),
|
||||
('flatten', 'flatten', False)]
|
||||
('flatten', 'flatten', False),
|
||||
('dontWaitForConcurrentBuildCompletion',
|
||||
'dont-wait-for-concurrent-builds', False)]
|
||||
|
||||
for xml_key, yaml_key, default in settings:
|
||||
xml_config = XML.SubElement(fileset, xml_key)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<managedArtifacts>true</managedArtifacts>
|
||||
<useServerSideEncryption>true</useServerSideEncryption>
|
||||
<flatten>true</flatten>
|
||||
<dontWaitForConcurrentBuildCompletion>true</dontWaitForConcurrentBuildCompletion>
|
||||
</hudson.plugins.s3.Entry>
|
||||
</entries>
|
||||
<userMetadata>
|
||||
|
|
|
@ -11,6 +11,7 @@ publishers:
|
|||
managed-artifacts: true
|
||||
s3-encryption: true
|
||||
flatten: true
|
||||
dont-wait-for-concurrent-builds: true
|
||||
metadata-tags:
|
||||
- key: warbl ${garbl}
|
||||
value: herp derp weevils
|
||||
|
|
Loading…
Reference in New Issue