From 8554b103d5e305ee88490a523e15506d19487653 Mon Sep 17 00:00:00 2001 From: VSAzima Date: Fri, 23 Apr 2021 13:20:13 +0400 Subject: [PATCH] one dollar sign left --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5b417604b..0e2980155 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,13 +7,13 @@ pipeline { // string(name: 'NEXUS_REPOSITORY', defaultValue: "maven-nexus-repo") // string(name: 'NEXUS_CREDENTIAL_ID', defaultValue: "e6072e08-87bc-481e-9e4a-55d506546356") // } - environment { - NEXUS_VERSION = "nexus3" - NEXUS_PROTOCOL = "http" - NEXUS_URL = "172.19.0.3:8081" - NEXUS_REPOSITORY = "maven-nexus-repo" - NEXUS_CREDENTIAL_ID = "e6072e08-87bc-481e-9e4a-55d506546356" - } + // environment { + // NEXUS_VERSION = "nexus3" + // NEXUS_PROTOCOL = "http" + // NEXUS_URL = "172.19.0.3:8081" + // NEXUS_REPOSITORY = "maven-nexus-repo" + // NEXUS_CREDENTIAL_ID = "e6072e08-87bc-481e-9e4a-55d506546356" + // } stages { stage('pull') { steps { @@ -59,7 +59,7 @@ pipeline { // if(artifactExists) { // echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}"; - def 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: [ + def nexusArtifactUploader nexusVersion: "nexus3", protocol: "http", nexusUrl: "172.19.0.3:8081", groupId: pom.groupId, version: pom.version, repository: "maven-nexus-repo", credentialsId: "e6072e08-87bc-481e-9e4a-55d506546356", artifacts: [ [artifactId: pom.artifactId, classifier: '', file: artifactPath,