Initial commit
This commit is contained in:
commit
b18ee8c625
7 changed files with 214 additions and 0 deletions
25
README.md
Normal file
25
README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# 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"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue