mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
This commit is contained in:
parent
1830440738
commit
80e9ecfe18
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ RUN mvn package
|
||||||
|
|
||||||
FROM openjdk:8-jre-alpine
|
FROM openjdk:8-jre-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN echo "$ENV_VAR"
|
||||||
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
|
||||||
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic-2.4.0.BUILD-${env.BUILD_ID}.jar
|
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic-2.4.0.BUILD-${env.BUILD_ID}.jar
|
||||||
RUN apk update && apk --no-cache add curl
|
RUN apk update && apk --no-cache add curl
|
||||||
|
|
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -13,6 +13,7 @@ pipeline {
|
||||||
environment {
|
environment {
|
||||||
artifactory_url="https://petclinic.jfrog.io/artifactory"
|
artifactory_url="https://petclinic.jfrog.io/artifactory"
|
||||||
artifactory_repo="spring-petclinic"
|
artifactory_repo="spring-petclinic"
|
||||||
|
build_id="$BUILD_NUMBER"
|
||||||
}
|
}
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// END
|
// END
|
||||||
|
|
Loading…
Reference in a new issue