diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7594588 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,27 @@ +pipeline { + agent { + label 'slave' + } + tools { + maven 'Maven-v3.8.6' + } + + stages { + stage('Build') { + steps { + sh 'mvn -B -DskipTests clean install' + } + } + stage('Test') { + steps { + sh 'mvn test' + } + post { + always { + junit 'target/surefire-reports/*.xml' + } + } + } + + } +} diff --git a/README.md b/README.md index 2e9ed99..8249946 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,6 @@ to run scripts/deliver.sh -this is a uild trigger test +Updating build trigger by Ravichandra V +New Test +Test diff --git a/src/main/java/com/mycompany/FileNew.html b/src/main/java/com/mycompany/FileNew.html new file mode 100644 index 0000000..fc7c315 --- /dev/null +++ b/src/main/java/com/mycompany/FileNew.html @@ -0,0 +1,6 @@ + +
This is a test
+ + diff --git a/src/main/java/com/mycompany/app/test.html b/src/main/java/com/mycompany/app/test.html new file mode 100644 index 0000000..fc7c315 --- /dev/null +++ b/src/main/java/com/mycompany/app/test.html @@ -0,0 +1,6 @@ + +This is a test
+ +