-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added jenkinsfile for CI/CD operations
- Loading branch information
UK
committed
Dec 9, 2024
1 parent
2604e06
commit 6483218
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
pipeline { | ||
agent any | ||
|
||
stages { | ||
stage('Checkout Code') { | ||
steps { | ||
checkout scm | ||
} | ||
} | ||
|
||
stage('Build') { | ||
steps { | ||
sh './mvnw clean install' | ||
} | ||
} | ||
|
||
stage('Test') { | ||
steps { | ||
sh './mvnw test' | ||
} | ||
} | ||
|
||
stage('Package') { | ||
steps { | ||
sh './mvnw package' | ||
} | ||
} | ||
} |