From c10e7c3dd0f772308a2ae8e63803c281b51dbb33 Mon Sep 17 00:00:00 2001 From: VSAzima Date: Fri, 23 Apr 2021 13:00:19 +0400 Subject: [PATCH] back to origins with envs --- Jenkinsfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e1aa3cfdd..750412c21 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -62,15 +62,7 @@ pipeline { // if(artifactExists) { // echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}"; - nexusArtifactUploader - nexusVersion: ${env.NEXUS_VERSION}, - protocol: ${env.NEXUS_PROTOCOL}, - nexusUrl: ${env.NEXUS_URL}, - groupId: pom.groupId, - version: pom.version, - repository: ${env.NEXUS_REPOSITORY}, - credentialsId: ${env.NEXUS_CREDENTIAL_ID}, - artifacts: [ + nexusArtifactUploader nexusVersion: ${env.NEXUS_VERSION}, protocol: ${env.NEXUS_PROTOCOL}, nexusUrl: ${env.NEXUS_URL}, groupId: pom.groupId, version: pom.version, repository: ${env.NEXUS_REPOSITORY}, credentialsId: ${env.NEXUS_CREDENTIAL_ID}, artifacts: [ [artifactId: pom.artifactId, classifier: '', file: artifactPath,