Commit Graph

7 Commits

Author SHA1 Message Date
Piotr Falkowski 927bb1919b Support for follow-symlinks in archive publisher
Change-Id: I1d5bd1c6ef5ccdf5f304dabf3a9afcb59d2b2baf
2023-01-16 22:06:49 +01:00
Yolande Amate c8b360cb47 Update archive to use convert_mapping_to_xml()
Change-Id: Iaeabaeaa093335b57367b71d93bb17356bc59662
2017-08-21 23:31:22 +01:00
Kien Ha 4ef069cc27 Add support for default-excludes in archives
Change-Id: I0a2339cc663d2c55fcf063eb0042b9581be93d2c
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2015-12-25 20:17:29 -05:00
Darragh Bailey e5738d0852 Allow whitespace to be significant
Remove the test options suppressing ignoring differences in whitespace
outputted in the XML to allow capturing of issues where the code
incorrectly adds or removes significant whitespace.

Add a helper function to deal with the edge case of parsing XML directly
that contains non significant whitespace to avoid accidentally adding
excess whitespace when minidom outputs the resulting document.

Change-Id: I9936042cd82c204ba2b3c19f575703e33564f7fd
2015-08-11 18:31:48 +01:00
Christian Fetzer a352c824bc Add fingerprint parameter to archive publisher.
In Jenkins 1.575 the option to fingerprint build artefacts has been
moved from Fingerprinter to ArtifactArchiver.
(https://github.com/jenkinsci/jenkins/commit/f43a450)

This patch reflects the change by adding an optional fingerprint
parameter to the archive publisher. The parameter recordBuildArtifacts
in the fingerprint publisher remains unchanged for backward
compatibility.

Change-Id: I231fdc38eb8343d646f24e7a31cafd29534c9fc8
2014-11-13 21:15:26 +01:00
Kei YAMAZAKI 604d39305b Fix multibyte character problem
Fixed problem that causes a UnicodeEncodeError when use multi-byte characters in the job.yml.

Change-Id: Ie715c827a794e73fae11cdca079ea80cfb8c280d
2014-01-21 22:34:30 +09:00
Bill Maxwell eebb71cbb3 Implements: Archive publisher allow-empty setting.
The archive publisher did not allow setting the allowEmptyArchive setting in the YAML.
This change adds configuring the setting if it is defined in the YAML file. If the value
is 'true' then it is set, else it is 'false'. The default Jenkins behavior is 'false' disallowing
builds to pass without storing the archived data.

Updated the doc string to add that there is a default value (false) which is also the default Jenkins behavior.
Cleand up the value assignment, and typed it to a str().

fixed pep8 violation

Addresses patchset 3 request to update the doc string to use the test directly.
Would like to have more discussion around the second point in patchset 3 around having
the new code add a line of XML.

Change-Id: I5e0c9ed7e8ea669a8d0e8f267ebb02d5f0b6ae73
2013-12-21 21:44:33 -07:00