Code: Select all
<forEachLoop itemsVariable="${src01_list}" currentItemVariable="file">
<zip label="compress" inputFilesVariable="${file}" outputFile="./archive/${file:nameWithoutExtension}.zip" version="1.0" />
</forEachLoop>
example:
{sr01_list} =
./abc.txt
./123.txt
desired result
./archive/abc.zip
./archive/123.txt