diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000000..fd123582cfe --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +pipeline { + agent any + + stages { + stage('Clone') { + steps { + echo 'Cloning repo...' + } + } + + stage('Build') { + steps { + bat 'mvn clean install' + } + } + + stage('Test') { + steps { + bat 'mvn test' + } + } + } +} diff --git a/README.md b/README.md index 02aa9fbdf84..1b6810542f6 100644 --- a/README.md +++ b/README.md @@ -172,3 +172,4 @@ For additional details, please refer to the blog post [Hello DCO, Goodbye CLA: S ## License The Spring PetClinic sample application is released under version 2.0 of the [Apache License](https://www.apache.org/licenses/LICENSE-2.0). +CI/CD Pipeline Done by Manasvi