From a613315504275965293c1de408831905d98d8b70 Mon Sep 17 00:00:00 2001 From: imran1108 Date: Wed, 20 Oct 2021 10:08:49 +0530 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38a78cde..6cbc838e 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -This is a Sample Maven App. +This is a Sample Maven App From d163233c7f29468a901d4d40ba047826ea87bbb6 Mon Sep 17 00:00:00 2001 From: MD Imran Date: Wed, 20 Oct 2021 11:54:45 +0530 Subject: [PATCH 2/6] Adding Jenkins file for Sysfoo --- jenkinsfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 jenkinsfile diff --git a/jenkinsfile b/jenkinsfile new file mode 100644 index 00000000..52b463f8 --- /dev/null +++ b/jenkinsfile @@ -0,0 +1,30 @@ +pipeline{ + +agent any + +tools{ +maven 'Maven 3.6.3' +} + +stages{ +stage('build'){ +steps{ +echo 'compile maven app' +sh 'mvn compile' +} +} +stage('test'){ +steps{ +echo 'test maven app' +sh 'mvn clean test' +} +} +stage('package'){ +steps{ +echo 'package maven app' +sh 'mvn package -DskipTests' +} +} +} + +} \ No newline at end of file From 42bbb8031208645a7549029b4517f792733af4cf Mon Sep 17 00:00:00 2001 From: MD Imran Date: Wed, 20 Oct 2021 15:05:26 +0530 Subject: [PATCH 3/6] added application info --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 00000000..579400d1 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +this sample app test \ No newline at end of file From 38ce2dda092b69706df6f9e427618bbc5fed13e4 Mon Sep 17 00:00:00 2001 From: MD Imran Date: Wed, 20 Oct 2021 15:19:56 +0530 Subject: [PATCH 4/6] added application 11 --- test.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.txt b/test.txt index 579400d1..940b1f36 100644 --- a/test.txt +++ b/test.txt @@ -1 +1,2 @@ -this sample app test \ No newline at end of file +this sample app test +Testing for app \ No newline at end of file From 8b75dc8071f5e17b784d894ea258ae21180af0f6 Mon Sep 17 00:00:00 2001 From: MD Imran Date: Wed, 20 Oct 2021 15:26:48 +0530 Subject: [PATCH 5/6] Testing --- test.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test.txt b/test.txt index 940b1f36..5192ecf2 100644 --- a/test.txt +++ b/test.txt @@ -1,2 +1 @@ this sample app test -Testing for app \ No newline at end of file From 3081440f4e2c33403f2629e643c7af0dd58bdf1e Mon Sep 17 00:00:00 2001 From: MD Imran Date: Wed, 20 Oct 2021 16:30:01 +0530 Subject: [PATCH 6/6] added application inf55o --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index 5192ecf2..6a128087 100644 --- a/test.txt +++ b/test.txt @@ -1 +1,2 @@ this sample app test +test \ No newline at end of file