This is a public Repo set up so you can learn blue ocean on jenkins
Find a file
2025-12-24 17:24:32 +08:00
src Update src/test/java/com/kodekloud/hello_demo/HelloControllerTests.java 2025-12-12 18:33:31 +00:00
.gitignore Initial commit 2025-12-02 01:37:52 +08:00
Jenkinsfile Update Jenkinsfile 2025-12-24 09:01:08 +00:00
Jenkinsfile-bk Update Jenkinsfile-bk 2025-12-24 08:59:34 +00:00
pom.xml Initial commit 2025-12-02 01:37:52 +08:00
README.md Initial commit 2025-12-02 01:37:52 +08:00

Springboot Hello World App

This repository is used for Jenkins Training Demo

Build JAR

mvn clean package -DskipTests=true

Unit Test Cases

mvn test
  • Total 6 test cases, out of which
    • 5 test cases will pass and
    • 1 test case fails!

Deploy/Run

java -jar target/hello-demo-*.jar 

Integration Testing (Return 200 OK response)

curl -s http://localhost:6767/hello"