Module archiver

The archiver module contains the properties and rules for creating (compressed) archives. The output artifact has the file tag "archiver.archive". The sole input artifact is a text file containing the list of files to package, with one file path per line. The paths can be relative, in which case they will be looked for at archiver.workingDirectory. The file tag of this input artifact is "archiver.input-list".

archiver Properties

PropertyTypeDefaultDescription
flagsstringListempty listCustom options not covered by any of the other properties.
archiveBaseNamestringproduct.targetNameThe base name of the archive file (in other words, the file name without any extensions).
compressionLevelstringundefinedHow much effort to put into the compression of a 7-Zip archive. Possible values are undefined, "0", "1", "3", "5", "7" and "9". Higher numbers result in a smaller archive, but the compressing process will take more time. A value of undefined means to use the default compression level.
compressionTypestring"gz"How to compress a tar archive. Possible options are "none", "gz", "bz2", "Z" and "xz".
outputDirectorystringproduct.destinationDirectoryWhere to put the archive file.
typestringundefinedWhich kind of archiver to use. The currently supported values are "tar" and "7zip".
workingDirectorystringundefinedThe directory in which to execute command.
commandstringDepends on type.The command with which to invoke the archiver.