Cody Casselman, Evan Mann, Sam Haque, Keeryn Johnson
- Clone the repo
- Change your working directory to
Demo-Master - Pull the Docker image from Docker Hub using:
docker pull evanmann/ensf400-final-project:apprun - Run the Docker image with:
docker run -it -p 8080:8080 evanmann/ensf400-final-project:apprun
- Make a Multi-Pipeline
- define as 'Pipeline script from SCM'
- set repository URL as: https://github.com/SamHawq/400-Final-Project
- set branch to main (NOT master)
- Go to Manage Jenkins
- Select Tools
- scroll to gradle installations
- add a gradle installation and name it 'gradlew'
- select gradle version 7.6.1
- find jdk installations
- add an installation named 'jdk11'
- check install automatically
- select Extract *.zip/tar.gz
- fill download URL for binary archive with 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.22+7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.22_7.tar.gz'
- press apply
- press save
- Go to Manage Jenkins again
- Go to plugins
- make sure to add and install Docker API Plugin, Docker Commons Plugin, Docker Pipeline, Docker pluging
any more plugins???
- if you see cannot find gradlew, go back to your tools and make sure you apply and save