From 58f6787c6ade15ac427b48285cafd56333d909c4 Mon Sep 17 00:00:00 2001 From: VSAzima Date: Thu, 22 Apr 2021 19:55:01 +0400 Subject: [PATCH] upload gap --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 87c48a5ed..a0360d64d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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,