diff --git a/Amazon-Web/jenkins/jenkinsfile b/Amazon-Web/jenkins/jenkinsfile new file mode 100644 index 0000000..ec07787 --- /dev/null +++ b/Amazon-Web/jenkins/jenkinsfile @@ -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' + } + } +} + + } diff --git a/Jenkinsfile b/Jenkinsfile index b5db940..a9a2634 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } @@ -34,5 +34,4 @@ pipeline { } } - } diff --git a/README.md b/README.md new file mode 100644 index 0000000..0157dbe --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +This is a webhook test by komala