Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ pipeline {
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"
sh 'rmdir /s /q TicketBookingServiceJunitTesting'
sh 'git clone https://github.com/kishancs2020/TicketBookingServiceJunitTesting.git'
sh 'mvn clean -f TicketBookingServiceJunitTesting'
}
}
stage('install') {
steps {
bat "mvn install -f TicketBookingServiceJunitTesting"
sh 'mvn install -f TicketBookingServiceJunitTesting'
}
}
stage('test') {
steps {
bat "mvn test -f TicketBookingServiceJunitTesting"
sh 'mvn test -f TicketBookingServiceJunitTesting'
}
}
stage('package') {
steps {
bat "mvn package -f TicketBookingServiceJunitTesting"
sh 'mvn package -f TicketBookingServiceJunitTesting'
}
}
}
Expand Down