-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjenkinsfile
More file actions
27 lines (27 loc) · 768 Bytes
/
jenkinsfile
File metadata and controls
27 lines (27 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pipeline {
agent any
stages {
stage('git repo & clean') {
steps {
sh "rm -rf TicketBookingServiceJunitTesting"
sh "git clone https://github.com/kishancs2020/TicketBookingServiceJunitTesting.git"
sh "mvn clean -f TicketBookingServiceJunitTesting"
}
}
stage('install') {
steps {
sh "mvn install -f TicketBookingServiceJunitTesting"
}
}
stage('test') {
steps {
sh "mvn test -f TicketBookingServiceJunitTesting"
}
}
stage('package') {
steps {
sh "mvn package -f TicketBookingServiceJunitTesting"
}
}
}
}