mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
revert pom changes
This commit is contained in:
parent
71aafe8708
commit
9555bb6b68
3 changed files with 4 additions and 29 deletions
|
@ -12,5 +12,8 @@ FROM openjdk:8-jre-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic.jar
|
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic.jar
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y curl
|
||||||
|
RUN curl
|
||||||
CMD ["java", "-jar", "/app/spring-petclinic.jar"]
|
CMD ["java", "-jar", "/app/spring-petclinic.jar"]
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -24,7 +24,7 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('build maven package') {
|
stage('build maven package') {
|
||||||
steps {
|
steps {
|
||||||
sh "mvn validate compile test package deploy"
|
sh "mvn validate compile test package"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build docker image') {
|
stage('build docker image') {
|
||||||
|
|
28
pom.xml
28
pom.xml
|
@ -311,10 +311,6 @@
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
|
||||||
<id>Maven-Artifactory-Plugin</id>
|
|
||||||
<url>https://petclinic.jfrog.io</url>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
@ -367,30 +363,6 @@
|
||||||
</lifecycleMappingMetadata>
|
</lifecycleMappingMetadata>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.jfrog.buildinfo</groupId>
|
|
||||||
<artifactId>artifactory-maven-plugin</artifactId>
|
|
||||||
<version>2.2.1</version>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>build-info</id>
|
|
||||||
<goals>
|
|
||||||
<goal>publish</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<publisher>
|
|
||||||
<contextUrl>https://petclinic.jfrog.io/artifactory</contextUrl>
|
|
||||||
<username>jfroguser</username>
|
|
||||||
<password>AdminPassword1</password>
|
|
||||||
<repoKey>spring-petclinic</repoKey>
|
|
||||||
<snapshotRepoKey>spring-petclinic-snapshot</snapshotRepoKey>
|
|
||||||
</publisher>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
Loading…
Reference in a new issue