upload gap

This commit is contained in:
VSAzima 2021-04-22 19:55:01 +04:00
parent 0973da0739
commit 58f6787c6a

2
Jenkinsfile vendored
View file

@ -32,8 +32,10 @@ pipeline {
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
artifactPath = filesByGlob[0].path;
artifactExists = fileExists artifactPath;
if(artifactExists) {
echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
nexusArtifactUploader(
nexusVersion: NEXUS_VERSION,
protocol: NEXUS_PROTOCOL,