Support for follow-symlinks in archive publisher
Change-Id: I1d5bd1c6ef5ccdf5f304dabf3a9afcb59d2b2baf
This commit is contained in:
parent
0e1b708ad5
commit
927bb1919b
@ -144,6 +144,8 @@ def archive(registry, xml_parent, data):
|
||||
successful build
|
||||
:arg bool allow-empty: pass the build if no artifacts are
|
||||
found (default false)
|
||||
:arg bool follow-symlinks: follow symbolic links during archiving
|
||||
(default false)
|
||||
:arg bool only-if-success: archive artifacts only if build is successful
|
||||
(default false)
|
||||
:arg bool fingerprint: fingerprint all archived artifacts (default false)
|
||||
@ -166,6 +168,7 @@ def archive(registry, xml_parent, data):
|
||||
("default-excludes", "defaultExcludes", True),
|
||||
("case-sensitive", "caseSensitive", True),
|
||||
("latest-only", "latestOnly", False),
|
||||
("follow-symlinks", "followSymlinks", False),
|
||||
]
|
||||
|
||||
if "excludes" in data:
|
||||
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
@ -9,6 +9,7 @@
|
||||
<defaultExcludes>false</defaultExcludes>
|
||||
<caseSensitive>true</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</hudson.tasks.ArtifactArchiver>
|
||||
</publishers>
|
||||
</project>
|
||||
|
@ -9,6 +9,7 @@
|
||||
<defaultExcludes>true</defaultExcludes>
|
||||
<caseSensitive>true</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
<excludes>path</excludes>
|
||||
</hudson.tasks.ArtifactArchiver>
|
||||
</publishers>
|
||||
|
@ -9,6 +9,7 @@
|
||||
<defaultExcludes>true</defaultExcludes>
|
||||
<caseSensitive>false</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>true</followSymlinks>
|
||||
</hudson.tasks.ArtifactArchiver>
|
||||
</publishers>
|
||||
</project>
|
||||
|
@ -5,3 +5,4 @@ publishers:
|
||||
only-if-success: 'false'
|
||||
fingerprint: true
|
||||
case-sensitive: false
|
||||
follow-symlinks: true
|
||||
|
@ -27,6 +27,7 @@
|
||||
<defaultExcludes>true</defaultExcludes>
|
||||
<caseSensitive>true</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</publisher>
|
||||
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
|
||||
</publishers>
|
||||
|
@ -15,6 +15,7 @@
|
||||
<defaultExcludes>true</defaultExcludes>
|
||||
<caseSensitive>true</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</hudson.tasks.ArtifactArchiver>
|
||||
<hudson.tasks.test.AggregatedTestResultPublisher>
|
||||
<includeFailedBuilds>true</includeFailedBuilds>
|
||||
|
@ -17,6 +17,7 @@
|
||||
<defaultExcludes>true</defaultExcludes>
|
||||
<caseSensitive>true</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</publisher>
|
||||
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
|
||||
</publishers>
|
||||
|
@ -16,6 +16,7 @@
|
||||
<defaultExcludes>true</defaultExcludes>
|
||||
<caseSensitive>true</caseSensitive>
|
||||
<latestOnly>false</latestOnly>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</hudson.tasks.ArtifactArchiver>
|
||||
</publisherList>
|
||||
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
|
||||
|
Loading…
Reference in New Issue
Block a user