From 5f10eb4a6ffe07c310db8fe5563bd4e868dfb6da Mon Sep 17 00:00:00 2001 From: theitern <111192083+theitern@users.noreply.github.com> Date: Sun, 6 Nov 2022 21:49:27 -0600 Subject: [PATCH 01/11] Update AddressbookUI.java --- .../java/com/mydemo/tutorial/addressbook/AddressbookUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java b/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java index eafe268..83ca03a 100644 --- a/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java +++ b/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java @@ -112,7 +112,7 @@ private void buildLayout() { mainLayout.setSizeFull(); mainLayout.setExpandRatio(left, 1); - // Split and allow resizing + // Split and allow resizing of the rows setContent(mainLayout); } From b733885b28bc9decc488e8b8173fa801baafd504 Mon Sep 17 00:00:00 2001 From: theitern <111192083+theitern@users.noreply.github.com> Date: Sun, 6 Nov 2022 21:51:13 -0600 Subject: [PATCH 02/11] Update AddressbookUI.java --- .../java/com/mydemo/tutorial/addressbook/AddressbookUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java b/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java index 83ca03a..6b52e03 100644 --- a/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java +++ b/src/main/java/com/mydemo/tutorial/addressbook/AddressbookUI.java @@ -44,7 +44,7 @@ public class AddressbookUI extends UI { ContactForm contactForm = new ContactForm(); // ContactService is a in-memory mock DAO that mimics - // a real-world datasource. Typically implemented for + // a real-world datasource. Typically implemented for many instances at theITern // example as EJB or Spring Data based service. ContactService service = ContactService.createDemoService(); From 3192b99d08a6e824dd00aab8da287ab6df8e3a88 Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Sat, 19 Nov 2022 11:22:02 -0500 Subject: [PATCH 03/11] Create MyNewFile --- MyNewFile | 1 + 1 file changed, 1 insertion(+) create mode 100644 MyNewFile diff --git a/MyNewFile b/MyNewFile new file mode 100644 index 0000000..9dafe9b --- /dev/null +++ b/MyNewFile @@ -0,0 +1 @@ +nothing From c393cf5cc27dcf7ce17e95bafa65aeeb2eb52f91 Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Sat, 19 Nov 2022 11:56:34 -0500 Subject: [PATCH 04/11] Delete MyNewFile --- MyNewFile | 1 - 1 file changed, 1 deletion(-) delete mode 100644 MyNewFile diff --git a/MyNewFile b/MyNewFile deleted file mode 100644 index 9dafe9b..0000000 --- a/MyNewFile +++ /dev/null @@ -1 +0,0 @@ -nothing From 0008fb88eb0be32f3b8e03ac5df35e7e093af08b Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Mon, 21 Nov 2022 20:15:41 -0500 Subject: [PATCH 05/11] commit one --- ourfile8 | 1 + 1 file changed, 1 insertion(+) create mode 100644 ourfile8 diff --git a/ourfile8 b/ourfile8 new file mode 100644 index 0000000..f867109 --- /dev/null +++ b/ourfile8 @@ -0,0 +1 @@ +Devops is great From e56f7fea9d99c11ee6f194a31c55be3810fc5c5b Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Mon, 21 Nov 2022 23:13:49 -0500 Subject: [PATCH 06/11] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 232fe2a..ebd2684 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +.................... ##Addressbook Tutoriall ==================== From b85b7cf18afe4555fda251510217ed00fc849aa3 Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Mon, 21 Nov 2022 23:19:26 -0500 Subject: [PATCH 07/11] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ebd2684..39e958d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -.................... +.......... + ##Addressbook Tutoriall ==================== From 465f2b64af74c3d625faff7a8104ea57b04b9ffc Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Sun, 27 Nov 2022 20:55:58 -0500 Subject: [PATCH 08/11] Rename Jenkinsfile to Jenkinsfile2 --- Jenkinsfile => Jenkinsfile2 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Jenkinsfile => Jenkinsfile2 (100%) diff --git a/Jenkinsfile b/Jenkinsfile2 similarity index 100% rename from Jenkinsfile rename to Jenkinsfile2 From 571b4d5ea3b3cc5833fc47d8dbf4c476ab630011 Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Sun, 27 Nov 2022 20:58:39 -0500 Subject: [PATCH 09/11] Create Jenkinsfile --- Jenkinsfile | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b66b5be --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,53 @@ + +pipeline{ + tools{ + jdk 'myjava' + maven 'mymaven' + } + agent none + stages{ + stage('Checkout'){ + agent any + // agent {label 'slave1'} + + steps{ + echo 'cloning..' + git 'https://github.com/Sonal0409/DevOpsClassCodes.git' + } + } + stage('Compile'){ + agent {label 'slave1'} + // agent {label 'jenkins_slave'} + steps{ + echo 'complie the code..' + sh 'mvn compile' + } + } + stage('CodeReview'){ + agent {label 'slave2'} + steps{ + + echo 'codeReview' + sh 'mvn pmd:pmd' + } + } + stage('UnitTest'){ + agent {label 'slave1'} + steps{ + + sh 'mvn test' + } + + } + + stage('Package'){ + agent any + steps{ + + sh 'mvn package' + } + } + + + } +} From 140598be13ae5f388966c647a271ec2fe70f591e Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Sun, 27 Nov 2022 21:05:28 -0500 Subject: [PATCH 10/11] Update Jenkinsfile2 --- Jenkinsfile2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 983187f..0cac046 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -10,7 +10,7 @@ pipeline{ steps{ echo 'cloning..' - git 'https://github.com/Sonal0409/DevOpsClassCodes.git' + git 'https://github.com/kobina25/DevOpsCodeDemo.git' } } stage('Compile'){ From 86deb760419fa65ae196a9cc295c934183048b85 Mon Sep 17 00:00:00 2001 From: kobina25 <117614675+kobina25@users.noreply.github.com> Date: Sun, 27 Nov 2022 21:12:52 -0500 Subject: [PATCH 11/11] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b66b5be..16119fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ pipeline{ steps{ echo 'cloning..' - git 'https://github.com/Sonal0409/DevOpsClassCodes.git' + git 'https://github.com/kobina25/DevOpsCodeDemo.git' } } stage('Compile'){