restore bask

This commit is contained in:
VSAzima 2021-04-22 20:57:37 +04:00
parent c95641049e
commit efc05eea18

10
Jenkinsfile vendored
View file

@ -32,8 +32,9 @@ pipeline {
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
artifactPath = filesByGlob[0].path;
artifactExists = fileExists artifactPath;
}
when(artifactExists) {
if(artifactExists) {
echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
nexusArtifactUploader(
nexusVersion: NEXUS_VERSION,
@ -54,8 +55,11 @@ pipeline {
type: "pom"]
]
);
}
} else {
error "*** File: ${artifactPath}, could not be found";
}
}
}
}
}
}