Commit a82e26a0 authored by Serdar TURKEL's avatar Serdar TURKEL

commit x2

parent 971f71e4
...@@ -59,22 +59,6 @@ pipeline { ...@@ -59,22 +59,6 @@ pipeline {
[artifactId: pom.artifactId,classifier: '',file: "pom.xml",type: "pom"] [artifactId: pom.artifactId,classifier: '',file: "pom.xml",type: "pom"]
] ]
); );
nexusArtifactUploader(
nexusVersion: NEXUS_VERSION,
protocol: NEXUS_PROTOCOL,
nexusUrl: NEXUS_URL,
groupId: pom.groupId,
version: "latest",
repository: NEXUS_REPOSITORY,
credentialsId: NEXUS_CREDENTIAL_ID,
artifacts: [
// Artifact generated such as .jar, .ear and .war files.
[artifactId: pom.artifactId,classifier: '',file: artifactPath,type: pom.packaging],
// Lets upload the pom.xml file for additional information for Transitive dependencies
[artifactId: pom.artifactId,classifier: '',file: "pom.xml",type: "pom"]
]
);
} else { } else {
error "*** File: ${artifactPath}, could not be found"; error "*** File: ${artifactPath}, could not be found";
} }
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<version>0.0.1</version> <version>0.0.1</version>
<name>SpringTemplate</name> <name>SpringTemplate</name>
<description>Inity Spring Template Project</description> <description>Inity Spring Template Project</description>
<packaging>jar</packaging>
<properties> <properties>
<java.version>11</java.version> <java.version>11</java.version>
</properties> </properties>
......
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