Commit 7b65c151 authored by Serdar TURKEL's avatar Serdar TURKEL

fixing2

parent edec3d4d
...@@ -45,13 +45,13 @@ pipeline { ...@@ -45,13 +45,13 @@ 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}";
nexusArtifactUploader( nexusArtifactUploader(
nexusVersion: NEXUS_VERSION, nexusVersion: env.NEXUS_VERSION,
protocol: NEXUS_PROTOCOL, protocol: env.NEXUS_PROTOCOL,
nexusUrl: NEXUS_URL, nexusUrl: env.NEXUS_URL,
groupId: pom.groupId, groupId: pom.groupId,
version: pom.version, version: pom.version,
repository: NEXUS_REPOSITORY, repository: env.NEXUS_REPOSITORY,
credentialsId: NEXUS_CREDENTIAL_ID, credentialsId: env.NEXUS_CREDENTIAL_ID,
artifacts: [ artifacts: [
// Artifact generated such as .jar, .ear and .war files. // Artifact generated such as .jar, .ear and .war files.
[artifactId: pom.artifactId,classifier: '',file: artifactPath,type: pom.packaging], [artifactId: pom.artifactId,classifier: '',file: artifactPath,type: pom.packaging],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment