Skip to content

flouis1/spring-petclinic-jenkins-github-action

Repository files navigation

Build and test petclinic container

Setup jenkins

Version

2.332.3

Plugins

List of plugin used:

  • GitHub plugin (github): 1.34.3
  • Docker plugin (docker-plugin): 1.2.9
  • Artifactory Plugin (artifactory): 3.16.2
  • docker-build-step (docker-build-step): 2.8
  • Blue Ocean (blueocean): 1.25.5

Actifactory setup

To configure your JFrog Platform instance Use this Documentation

Jenkins Pipeline

Configure the Source Code Manager(SCM)

image

Configure the Script path

image

Pipeline

image

Docker config

Dockerfile

FROM openjdk:19-jdk-alpine3.15
EXPOSE 8080
COPY target/*.jar /spring_built.jar
CMD ["java","-jar","/spring_built.jar"]

Use the docker image

docker run -d -p 8080:8080 flouis1.jfrog.io/default-docker-local/spring-petclinic:latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published