From 4fafa18c80264f7925c2fe300f26627fc7085c63 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:30:51 +0530 Subject: [PATCH 01/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 9a199bea..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ Sample Java Applicaiton V3.2 -asd From 52d3f2827fe18946c96eb0e32b624e2f6e897f5c Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:35:30 +0530 Subject: [PATCH 02/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9f2b8b8a..ea6335ce 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.2 +fwefew From 7c1370e238a105914ab62184ef9a621f77b88a92 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:36:40 +0530 Subject: [PATCH 03/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index ea6335ce..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ Sample Java Applicaiton V3.2 -fwefew From 7c4c4f9b16665a03442c9707446de57f48c9b321 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:38:26 +0530 Subject: [PATCH 04/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9f2b8b8a..18ca6763 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.2 +fewvwe From d30481cf1cc3f9a4f26e916380e237686978555e Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:42:34 +0530 Subject: [PATCH 05/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 18ca6763..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ Sample Java Applicaiton V3.2 -fewvwe From 74c27c7da1307fb40bc58aa0e40c4908b76e4ef9 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:46:07 +0530 Subject: [PATCH 06/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9f2b8b8a..5ce0b83d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.2 +vewberv From e4eeedf3f4d41845c8d7ab7835c2003c47a763c5 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:57:47 +0530 Subject: [PATCH 07/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 5ce0b83d..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ Sample Java Applicaiton V3.2 -vewberv From 15a18bba10d541f04bb5004018b9d621255e6229 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 2 Oct 2021 14:36:38 +0530 Subject: [PATCH 08/28] Update Jenkinsfile --- Jenkinsfile | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7f7d6f9b..eb1df48d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,24 +5,13 @@ pipeline { steps { echo 'compiling..' git url: 'https://github.com/lerndevops/DevOpsClassCodes' - sh script: '/opt/apache-maven-3.8.1/bin/mvn compile' + sh script: 'mvn compile' } } - stage('codereview-pmd') { - steps { - echo 'codereview..' - sh script: '/opt/apache-maven-3.8.1/bin/mvn -P metrics pmd:pmd' - } - post { - success { - recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') - } - } - } stage('unit-test') { steps { echo 'unittest..' - sh script: '/opt/apache-maven-3.8.1/bin/mvn test' + sh script: 'mvn test' } post { success { @@ -30,21 +19,10 @@ pipeline { } } } - stage('codecoverate') { - steps { - echo 'codecoverage..' - sh script: '/opt/apache-maven-3.8.1/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' - } - post { - success { - cobertura autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: 'target/site/cobertura/coverage.xml', conditionalCoverageTargets: '70, 0, 0', failUnhealthy: false, failUnstable: false, lineCoverageTargets: '80, 0, 0', maxNumberOfBuilds: 0, methodCoverageTargets: '80, 0, 0', onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false - } - } - } stage('package') { steps { echo 'package......' - sh script: '/opt/apache-maven-3.8.1/bin/mvn package' + sh script: 'mvn package' } } } From c86f19f7b7ba609a28cce4e35c169852409ba947 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Mon, 4 Oct 2021 14:46:10 +0530 Subject: [PATCH 09/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9f2b8b8a..67ef48ff 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.2 +vewvewv From 4f43bfc993f654cf31029dd39273cca04ea658b3 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Tue, 5 Oct 2021 13:04:09 +0530 Subject: [PATCH 10/28] Update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index eb1df48d..c8588940 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,13 @@ pipeline { steps { echo 'compiling..' git url: 'https://github.com/lerndevops/DevOpsClassCodes' - sh script: 'mvn compile' + sh script: '/opt/apache-maven-3.8.3/bin/mvn compile' } } stage('unit-test') { steps { echo 'unittest..' - sh script: 'mvn test' + sh script: '/opt/apache-maven-3.8.3/bin/mvn test' } post { success { @@ -22,7 +22,7 @@ pipeline { stage('package') { steps { echo 'package......' - sh script: 'mvn package' + sh script: '/opt/apache-maven-3.8.3/bin/mvn package' } } } From d2b6a55888f034dbc80af589fa4bd61bdafac05e Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Tue, 5 Oct 2021 13:04:40 +0530 Subject: [PATCH 11/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 67ef48ff..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ Sample Java Applicaiton V3.2 -vewvewv From 0f9c88fca7c060875567f39f70c4ee027ce9b91a Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Tue, 5 Oct 2021 13:05:56 +0530 Subject: [PATCH 12/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9f2b8b8a..a6ca6225 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.2 +Adding new changes From 1cd66532f50726860656c18311412d157031e174 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Tue, 5 Oct 2021 13:07:33 +0530 Subject: [PATCH 13/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6ca6225..ae188cff 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ Sample Java Applicaiton V3.2 -Adding new changes + From d3a8fbe5853cc33de697d25fdbb85bd68eb9ef75 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Tue, 5 Oct 2021 13:10:40 +0530 Subject: [PATCH 14/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ae188cff..dbcd92fc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ Sample Java Applicaiton V3.2 +Added new changes From cedf03eb451fb0709c22b8db9c8fcf2b2634a47e Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 15:12:13 +0530 Subject: [PATCH 15/28] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index dbcd92fc..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,2 @@ Sample Java Applicaiton V3.2 - -Added new changes From 7d39f931cc9bcbce0d173e61a54d8c30873067c7 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 15:31:23 +0530 Subject: [PATCH 16/28] Update Jenkinsfile --- Jenkinsfile | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c8588940..7f7d6f9b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,24 @@ pipeline { steps { echo 'compiling..' git url: 'https://github.com/lerndevops/DevOpsClassCodes' - sh script: '/opt/apache-maven-3.8.3/bin/mvn compile' + sh script: '/opt/apache-maven-3.8.1/bin/mvn compile' } } + stage('codereview-pmd') { + steps { + echo 'codereview..' + sh script: '/opt/apache-maven-3.8.1/bin/mvn -P metrics pmd:pmd' + } + post { + success { + recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') + } + } + } stage('unit-test') { steps { echo 'unittest..' - sh script: '/opt/apache-maven-3.8.3/bin/mvn test' + sh script: '/opt/apache-maven-3.8.1/bin/mvn test' } post { success { @@ -19,10 +30,21 @@ pipeline { } } } + stage('codecoverate') { + steps { + echo 'codecoverage..' + sh script: '/opt/apache-maven-3.8.1/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' + } + post { + success { + cobertura autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: 'target/site/cobertura/coverage.xml', conditionalCoverageTargets: '70, 0, 0', failUnhealthy: false, failUnstable: false, lineCoverageTargets: '80, 0, 0', maxNumberOfBuilds: 0, methodCoverageTargets: '80, 0, 0', onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false + } + } + } stage('package') { steps { echo 'package......' - sh script: '/opt/apache-maven-3.8.3/bin/mvn package' + sh script: '/opt/apache-maven-3.8.1/bin/mvn package' } } } From 5d8c913335f22d61203f10d1b5ed7618d69dc85e Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 15:34:06 +0530 Subject: [PATCH 17/28] Update Jenkinsfile --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7f7d6f9b..7b2ab405 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,13 @@ pipeline { steps { echo 'compiling..' git url: 'https://github.com/lerndevops/DevOpsClassCodes' - sh script: '/opt/apache-maven-3.8.1/bin/mvn compile' + sh script: '/opt/apache-maven-3.8.3/bin/mvn compile' } } stage('codereview-pmd') { steps { echo 'codereview..' - sh script: '/opt/apache-maven-3.8.1/bin/mvn -P metrics pmd:pmd' + sh script: '/opt/apache-maven-3.8.3/bin/mvn -P metrics pmd:pmd' } post { success { @@ -22,7 +22,7 @@ pipeline { stage('unit-test') { steps { echo 'unittest..' - sh script: '/opt/apache-maven-3.8.1/bin/mvn test' + sh script: '/opt/apache-maven-3.8.3/bin/mvn test' } post { success { @@ -33,7 +33,7 @@ pipeline { stage('codecoverate') { steps { echo 'codecoverage..' - sh script: '/opt/apache-maven-3.8.1/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' + sh script: '/opt/apache-maven-3.8.3/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' } post { success { @@ -44,7 +44,7 @@ pipeline { stage('package') { steps { echo 'package......' - sh script: '/opt/apache-maven-3.8.1/bin/mvn package' + sh script: '/opt/apache-maven-3.8.3/bin/mvn package' } } } From 8f475377d31d3cb0e3336e20b0b501c7924e758d Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 16:24:06 +0530 Subject: [PATCH 18/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9f2b8b8a..a5d138a6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.2 +New changes From 5804064fad30f9818cc9be4ec8756a4e9bc51528 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 21:19:03 +0530 Subject: [PATCH 19/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index a5d138a6..9f2b8b8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ Sample Java Applicaiton V3.2 -New changes From 2ffb54c8db1aa69373545540ffa797079530bbb2 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 22:48:29 +0530 Subject: [PATCH 20/28] Update deploy-kube.yml --- deploy/deploy-kube.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/deploy-kube.yml b/deploy/deploy-kube.yml index 3972f5c0..54f7e169 100755 --- a/deploy/deploy-kube.yml +++ b/deploy/deploy-kube.yml @@ -14,7 +14,7 @@ echo "No app service found" fi - name: deploy app - shell: kubectl create deploy myapp --image=lerndevops/samplejavaapp:{{ build }} + shell: kubectl create deploy myapp --image=08170/samplejavaapp:{{ build }} - name: increase replicas shell: kubectl scale deploy myapp --replicas=2 - name: deploy service From 8bfc6038b8ab0743b0dda5db20f75f61969d9b61 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 16 Oct 2021 22:51:05 +0530 Subject: [PATCH 21/28] Update deploy-kube.yml --- deploy/deploy-kube.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/deploy-kube.yml b/deploy/deploy-kube.yml index 54f7e169..51274fb6 100755 --- a/deploy/deploy-kube.yml +++ b/deploy/deploy-kube.yml @@ -14,7 +14,7 @@ echo "No app service found" fi - name: deploy app - shell: kubectl create deploy myapp --image=08170/samplejavaapp:{{ build }} + shell: kubectl create deploy myapp --image=08170/sampleapp:{{ build }} - name: increase replicas shell: kubectl scale deploy myapp --replicas=2 - name: deploy service From f80c7bed54fa417065b129b9e64049c9ea5238f2 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Fri, 29 Oct 2021 20:14:11 +0530 Subject: [PATCH 22/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f2b8b8a..1a4c5b47 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -Sample Java Applicaiton V3.2 +Sample Java Applicaiton V3.3 From 2369dcc90f6b974b241b25464ea36a3fdeb75c64 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Fri, 29 Oct 2021 20:41:22 +0530 Subject: [PATCH 23/28] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7b2ab405..593792bd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stage('compile') { steps { echo 'compiling..' - git url: 'https://github.com/lerndevops/DevOpsClassCodes' + git 'https://github.com/shubhsharm/samplejavaapp' sh script: '/opt/apache-maven-3.8.3/bin/mvn compile' } } @@ -30,7 +30,7 @@ pipeline { } } } - stage('codecoverate') { + stage('codecoverage') { steps { echo 'codecoverage..' sh script: '/opt/apache-maven-3.8.3/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' From 0f8addd077b9a3afbd401fcd8d33ad78db151a1e Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Tue, 2 Nov 2021 07:20:44 +0530 Subject: [PATCH 24/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a4c5b47..041f3319 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -Sample Java Applicaiton V3.3 +Sample Java Applicaiton V3.5 From c2b5675721cf2e24f51d32b1cff49d205320bcce Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Fri, 12 Nov 2021 20:44:16 +0530 Subject: [PATCH 25/28] Update deploy-kube.yml --- deploy/deploy-kube.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/deploy-kube.yml b/deploy/deploy-kube.yml index 51274fb6..54f7e169 100755 --- a/deploy/deploy-kube.yml +++ b/deploy/deploy-kube.yml @@ -14,7 +14,7 @@ echo "No app service found" fi - name: deploy app - shell: kubectl create deploy myapp --image=08170/sampleapp:{{ build }} + shell: kubectl create deploy myapp --image=08170/samplejavaapp:{{ build }} - name: increase replicas shell: kubectl scale deploy myapp --replicas=2 - name: deploy service From ca20490bc8bd1e0cf1907c124c9021ba0bb726ba Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 27 Nov 2021 08:18:20 +0530 Subject: [PATCH 26/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 041f3319..bf87a456 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ Sample Java Applicaiton V3.5 +This is for testing From 26ba9cbb2b2ecab8b679a99cb132a893a080ec35 Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sat, 27 Nov 2021 09:02:16 +0530 Subject: [PATCH 27/28] Update Jenkinsfile --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 593792bd..1cec41ad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,13 @@ pipeline { steps { echo 'compiling..' git 'https://github.com/shubhsharm/samplejavaapp' - sh script: '/opt/apache-maven-3.8.3/bin/mvn compile' + sh script: '/opt/apache-maven-3.8.4/bin/mvn compile' } } stage('codereview-pmd') { steps { echo 'codereview..' - sh script: '/opt/apache-maven-3.8.3/bin/mvn -P metrics pmd:pmd' + sh script: '/opt/apache-maven-3.8.4/bin/mvn -P metrics pmd:pmd' } post { success { @@ -22,7 +22,7 @@ pipeline { stage('unit-test') { steps { echo 'unittest..' - sh script: '/opt/apache-maven-3.8.3/bin/mvn test' + sh script: '/opt/apache-maven-3.8.4/bin/mvn test' } post { success { @@ -33,7 +33,7 @@ pipeline { stage('codecoverage') { steps { echo 'codecoverage..' - sh script: '/opt/apache-maven-3.8.3/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' + sh script: '/opt/apache-maven-3.8.4/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' } post { success { @@ -44,7 +44,7 @@ pipeline { stage('package') { steps { echo 'package......' - sh script: '/opt/apache-maven-3.8.3/bin/mvn package' + sh script: '/opt/apache-maven-3.8.4/bin/mvn package' } } } From 578e66bcbd3ff0dc5f1da68803d65aaeeae5b03a Mon Sep 17 00:00:00 2001 From: shubhsharm <68157471+shubhsharm@users.noreply.github.com> Date: Sun, 19 Dec 2021 09:51:38 +0530 Subject: [PATCH 28/28] Update deploy-kube.yml --- deploy/deploy-kube.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/deploy-kube.yml b/deploy/deploy-kube.yml index 54f7e169..51274fb6 100755 --- a/deploy/deploy-kube.yml +++ b/deploy/deploy-kube.yml @@ -14,7 +14,7 @@ echo "No app service found" fi - name: deploy app - shell: kubectl create deploy myapp --image=08170/samplejavaapp:{{ build }} + shell: kubectl create deploy myapp --image=08170/sampleapp:{{ build }} - name: increase replicas shell: kubectl scale deploy myapp --replicas=2 - name: deploy service