How To Build Java Spring Boot Application Using GitLab(From Scratch)

Published: 13 May 2024
on channel: Devops Zplus
1,645
17

You guys can refer bellow code.
------------------------------------------------------------------
stages:
build-app

.clone-repo: &clone-repo
git clone https://github.com/spring-guides/gs-s...
ls

build-app-job:
stage: build-app
image: maven:latest
script:
echo "clone the repository for spring boot application"
*clone-repo
mkdir target
cd gs-spring-boot/complete
mvn clean package
ls -la
mv target/*.jar ../../target
ls -la
cd ../..
ls -la
artifacts:
paths:
target


On this page of the site you can watch the video online How To Build Java Spring Boot Application Using GitLab(From Scratch) with a duration of hours minute second in good quality, which was uploaded by the user Devops Zplus 13 May 2024, share the link with friends and acquaintances, this video has already been watched 1,645 times on youtube and it was liked by 17 viewers. Enjoy your viewing!