one dollar sign left

This commit is contained in:
VSAzima 2021-04-23 13:20:13 +04:00
parent 9e161fae3f
commit 8554b103d5

16
Jenkinsfile vendored
View file

@ -7,13 +7,13 @@ pipeline {
// string(name: 'NEXUS_REPOSITORY', defaultValue: "maven-nexus-repo") // string(name: 'NEXUS_REPOSITORY', defaultValue: "maven-nexus-repo")
// string(name: 'NEXUS_CREDENTIAL_ID', defaultValue: "e6072e08-87bc-481e-9e4a-55d506546356") // string(name: 'NEXUS_CREDENTIAL_ID', defaultValue: "e6072e08-87bc-481e-9e4a-55d506546356")
// } // }
environment { // environment {
NEXUS_VERSION = "nexus3" // NEXUS_VERSION = "nexus3"
NEXUS_PROTOCOL = "http" // NEXUS_PROTOCOL = "http"
NEXUS_URL = "172.19.0.3:8081" // NEXUS_URL = "172.19.0.3:8081"
NEXUS_REPOSITORY = "maven-nexus-repo" // NEXUS_REPOSITORY = "maven-nexus-repo"
NEXUS_CREDENTIAL_ID = "e6072e08-87bc-481e-9e4a-55d506546356" // NEXUS_CREDENTIAL_ID = "e6072e08-87bc-481e-9e4a-55d506546356"
} // }
stages { stages {
stage('pull') { stage('pull') {
steps { steps {
@ -59,7 +59,7 @@ pipeline {
// if(artifactExists) { // if(artifactExists) {
// echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}"; // 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, [artifactId: pom.artifactId,
classifier: '', classifier: '',
file: artifactPath, file: artifactPath,