Skip to content
Open

PR-1 #12

Show file tree
Hide file tree
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
37 changes: 37 additions & 0 deletions Amazon-Web/jenkins/jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
pipeline {
agent any

stages {

stage('clone project') {
steps {
git branch:'master' , url:'https://github.com/komali012/Amazon-Ecom.git'
}
}

stage('clean') {
steps {
sh 'mvn clean'
}
}

stage('compile') {
steps {
sh 'mvn compile'
}
}

stage('test') {
steps {
sh 'mvn test'
}
}

stage('build') {
steps {
sh 'mvn clean install'
}
}
}

}
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pipeline {

stage('clone project') {
steps {
git branch:'master' , url:'https://github.com/PraveenKuberABC/Amazon-Ecom.git'
git branch:'master' , url:'https://github.com/komali012/Amazon-Ecom.git'
}
}

Expand Down Expand Up @@ -34,5 +34,4 @@ pipeline {
}

}

}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a webhook test by komala