forked from kishancs2020/TicketBookingServiceJunitTesting
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
27 lines (27 loc) · 779 Bytes
/
Jenkinsfile
File metadata and controls
27 lines (27 loc) · 779 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 {
bat "rmdir /s /q TicketBookingServiceJunitTesting"
bat "git clone https://github.com/kishancs2020/TicketBookingServiceJunitTesting.git"
bat "mvn clean -f TicketBookingServiceJunitTesting"
}
}
stage('install') {
steps {
bat "mvn install -f TicketBookingServiceJunitTesting"
}
}
stage('test') {
steps {
bat "mvn test -f TicketBookingServiceJunitTesting"
}
}
stage('package') {
steps {
bat "mvn package -f TicketBookingServiceJunitTesting"
}
}
}
}