|
|
@ -37,6 +37,9 @@ pipeline {
|
|
|
|
filesByGlob = findFiles(glob: "target/*.${pom.packaging}");
|
|
|
|
filesByGlob = findFiles(glob: "target/*.${pom.packaging}");
|
|
|
|
|
|
|
|
|
|
|
|
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
|
|
|
|
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
|
|
|
|
|
|
|
|
echo "${filesByGlob[1].name} ${filesByGlob[1].path} ${filesByGlob[1].directory} ${filesByGlob[1].length} ${filesByGlob[1].lastModified}"
|
|
|
|
|
|
|
|
echo "${filesByGlob[2].name} ${filesByGlob[2].path} ${filesByGlob[2].directory} ${filesByGlob[2].length} ${filesByGlob[2].lastModified}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
artifactPath = filesByGlob[0].path;
|
|
|
|
artifactPath = filesByGlob[0].path;
|
|
|
|
artifactExists = fileExists artifactPath;
|
|
|
|
artifactExists = fileExists artifactPath;
|
|
|
|