diff --git a/Jenkinsfile b/Jenkinsfile
index 52c117b12..746150d5e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -24,24 +24,6 @@ pipeline {
stages {
stage('build maven package') {
steps {
- rtServer (
- id: "ARTIFACTORY_SERVER",
- url: "$artifactory_url"
- )
- rtMavenDeployer (
- id: "MAVEN_DEPLOYER",
- serverId: "ARTIFACTORY_SERVER",
- releaseRepo: "spring-petclinic",
- snapshotRepo: "spring-petclinic-snapshot"
- )
-
- rtMavenResolver (
- id: "MAVEN_RESOLVER",
- serverId: "ARTIFACTORY_SERVER",
- releaseRepo: "spring-petclinic",
- snapshotRepo: "spring-petclinic-snapshot"
- )
-
sh "mvn validate compile test package"
}
}
diff --git a/pom.xml b/pom.xml
index 4941843ad..54d418406 100644
--- a/pom.xml
+++ b/pom.xml
@@ -311,6 +311,10 @@
false
+
+ Maven-Artifactory-Plugin
+ https://petclinic.jfrog.io
+
@@ -363,6 +367,30 @@
+
+ org.jfrog.buildinfo
+ artifactory-maven-plugin
+ 2.2.1
+ false
+
+
+ build-info
+
+ publish
+
+
+
+ https://petclinic.jfrog.io/artifactory
+ jfroguser
+ AdminPassword1
+ spring-petclinic
+ spring-petclinic-snapshot
+
+
+
+
+
+