Added deploy to artifactory

This commit is contained in:
gesparza3 2019-05-09 10:50:55 -07:00
parent 21635588f7
commit c785e6d5b8
2 changed files with 6 additions and 9 deletions

2
Jenkinsfile vendored
View file

@ -21,7 +21,7 @@ pipeline {
} }
} }
steps { steps {
sh '' sh 'maven deploy'
} }
} }

13
pom.xml
View file

@ -420,14 +420,11 @@
</reporting> </reporting>
<distributionManagement> <distributionManagement>
<snapshotRepository> <snapshotRepository>
<id>snapshots</id> <id>snapshots</id>
<url>http://nexus:8081/nexus/content/repositories/snapshots</url> <name>localhost.localdomain-snapshots</name>
</snapshotRepository> <url>http://192.168.0.48:8081/artifactory/libs-snapshot-local</url>
<repository> </snapshotRepository>
<id>releases</id>
<url>http://nexus:8081/nexus/content/repositories/releases</url>
</repository>
</distributionManagement> </distributionManagement>
<url>demopetclinic</url> <url>demopetclinic</url>