From d2e33e9622d12ed82c00f6bb744663857d32ddeb Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Mon, 4 Apr 2022 21:04:12 +0530 Subject: [PATCH 01/10] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2d4e291f5..ea542f35e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ Hello World! (WAR-style) +hii this is darshan =============== This is the simplest possible Java webapp for testing servlet container deployments. It should work on any container and requires no other dependencies or configuration. From d0f10725050a8ae9a7148dfd9f359e2b7dee9388 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Wed, 6 Apr 2022 14:27:21 +0530 Subject: [PATCH 02/10] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ea542f35e..9419fde87 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ Hello World! (WAR-style) hii this is darshan +hii =============== This is the simplest possible Java webapp for testing servlet container deployments. It should work on any container and requires no other dependencies or configuration. From a0360351b8a6841628d054a5270246f548924020 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Wed, 6 Apr 2022 14:59:53 +0530 Subject: [PATCH 03/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9419fde87..6e30fdeeb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Hello World! (WAR-style) hii this is darshan -hii +hiiii =============== This is the simplest possible Java webapp for testing servlet container deployments. It should work on any container and requires no other dependencies or configuration. From ace2228cd64775ec4ca31d9053c5817948fdded6 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Sat, 9 Apr 2022 18:24:09 +0530 Subject: [PATCH 04/10] Create Jenkinsfile --- Jenkinsfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..7475daab4 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline { + agent { label 'java' } + stages { + stage('checkout') { + steps { + sh 'git clone https://github.com/darshanbguru/hello-world-war.git' + } + } + +stage('build') { + steps { + sh 'mvn clean package' + } + } + } +} From 911f9ea3925e63c6ee922e9d90afa208c283d538 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Sat, 9 Apr 2022 22:53:20 +0530 Subject: [PATCH 05/10] Create Jenkinsfile1 --- Jenkinsfile1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Jenkinsfile1 diff --git a/Jenkinsfile1 b/Jenkinsfile1 new file mode 100644 index 000000000..3f6b70887 --- /dev/null +++ b/Jenkinsfile1 @@ -0,0 +1,21 @@ +pipeline { + agent { label 'java' } + stages { + stage('checkout') { + steps { + sh 'git clone https://github.com/darshanbguru/hello-world-war.git' + } + } + +stage('build') { + steps { + sh 'mvn clean package' + } + } +stage('deploy'){ +steps { +sh 'cp /home/slave-1/workspace/package/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' + } +} +} +} From 791dba472ac9c23ca531b5a92d1b4c323a48c203 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Sun, 10 Apr 2022 20:25:00 +0530 Subject: [PATCH 06/10] Update Jenkinsfile --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7475daab4..3f6b70887 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,5 +12,10 @@ stage('build') { sh 'mvn clean package' } } +stage('deploy'){ +steps { +sh 'cp /home/slave-1/workspace/package/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' } } +} +} From 4bb315768800e5e5dec1da4db2a58bbc2c13bab4 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Sun, 10 Apr 2022 20:40:01 +0530 Subject: [PATCH 07/10] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3f6b70887..40b812ec1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ stage('build') { sh 'mvn clean package' } } -stage('deploy'){ +stage('deploy') { steps { sh 'cp /home/slave-1/workspace/package/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' } From 5d06077f9e70025312f85710fdfd414703872d6e Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Sun, 10 Apr 2022 20:53:52 +0530 Subject: [PATCH 08/10] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 40b812ec1..3e0fedb0b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ stage('build') { } stage('deploy') { steps { -sh 'cp /home/slave-1/workspace/package/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' +sh 'cp /home/slave-1/workspace/P3/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' } } } From 717be278771ba94d7f92b68628b5859d3e526fa4 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Sun, 10 Apr 2022 20:56:10 +0530 Subject: [PATCH 09/10] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3e0fedb0b..decfacca5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ stage('build') { } stage('deploy') { steps { -sh 'cp /home/slave-1/workspace/P3/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' +sh 'cp /home/slave-1/workspace/P4/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' } } } From b360af993f19e7df6872912d78eca39f69e52198 Mon Sep 17 00:00:00 2001 From: darshanbguru <102288899+darshanbguru@users.noreply.github.com> Date: Thu, 14 Apr 2022 07:11:35 +0530 Subject: [PATCH 10/10] Delete Jenkinsfile1 --- Jenkinsfile1 | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Jenkinsfile1 diff --git a/Jenkinsfile1 b/Jenkinsfile1 deleted file mode 100644 index 3f6b70887..000000000 --- a/Jenkinsfile1 +++ /dev/null @@ -1,21 +0,0 @@ -pipeline { - agent { label 'java' } - stages { - stage('checkout') { - steps { - sh 'git clone https://github.com/darshanbguru/hello-world-war.git' - } - } - -stage('build') { - steps { - sh 'mvn clean package' - } - } -stage('deploy'){ -steps { -sh 'cp /home/slave-1/workspace/package/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps' - } -} -} -}