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 {
sh ''
sh 'maven deploy'
}
}

13
pom.xml
View file

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