This commit is contained in:
VSAzima 2021-04-23 13:16:13 +04:00
parent 637b56d0a7
commit 9e161fae3f

2
Jenkinsfile vendored
View file

@ -52,7 +52,7 @@ pipeline {
steps {
def pom = readMavenPom file: "pom.xml";
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}"
artifactPath = filesByGlob[0].path;
artifactExists = fileExists artifactPath;
//