From a32946dd9e929ccdce8ef6acdcb7060c8efe2da9 Mon Sep 17 00:00:00 2001
From: Johntawu <99775100+Johntawu@users.noreply.github.com>
Date: Fri, 11 Mar 2022 13:57:01 -0500
Subject: [PATCH 1/6] Update pom.xml
---
pom.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 31ecb53c29..4d16d83b15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,10 +27,7 @@
UTF-8
UTF-8
-
- mylandmarktechs
- https://sonarcloud.io
-
+
From 3e13d0455f663669c62e41fdcdf97757909f5b4d Mon Sep 17 00:00:00 2001
From: Johntawu <99775100+Johntawu@users.noreply.github.com>
Date: Sat, 19 Mar 2022 12:54:05 -0400
Subject: [PATCH 2/6] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 4d16d83b15..0876d33a56 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
5.1.2.RELEASE
4.11
1.2.17
- http:3.238.135.186:9000/
+ http://3.83.31.247:9000/
admin
admin
UTF-8
From fa95a272f0154268b3849ac81a4cb33c6ade663e Mon Sep 17 00:00:00 2001
From: Johntawu <99775100+Johntawu@users.noreply.github.com>
Date: Sun, 20 Mar 2022 05:22:18 -0400
Subject: [PATCH 3/6] Update pom.xml
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0876d33a56..b436cffb19 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,13 +98,13 @@
nexus
Landmark Technologies Releases Nexus Repository
- http://44.192.81.238:8888/mylandmarktech/repository/boa-release/
+ http://54.159.14.22:8000/repository/cbank-release/
nexus
Landmark Technologies Snapshot Nexus Repository
- http://44.192.81.238:8888/mylandmarktech/repository/boa-snapshot/
+ http://54.159.14.22:8000/repository/cbank-snapshot/:wq
From eb453cc67e72a9bb2623dbfd9ace78578ad5bcd4 Mon Sep 17 00:00:00 2001
From: Johntawu <99775100+Johntawu@users.noreply.github.com>
Date: Mon, 21 Mar 2022 13:28:37 -0400
Subject: [PATCH 4/6] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b436cffb19..dfd50d3475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,7 +104,7 @@
nexus
Landmark Technologies Snapshot Nexus Repository
- http://54.159.14.22:8000/repository/cbank-snapshot/:wq
+ http://54.159.14.22:8000/repository/cbank-snapshot/
From dc31e21f34723d75c71c125574810b9539515a50 Mon Sep 17 00:00:00 2001
From: Johntawu <99775100+Johntawu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 08:11:25 -0400
Subject: [PATCH 5/6] Create README.md
---
README.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
create mode 100644 README.md
diff --git a/README.md b/README.md
new file mode 100644
index 0000000000..cde1164772
--- /dev/null
+++ b/README.md
@@ -0,0 +1,67 @@
+pipeline {
+ agent any
+ tools {
+ maven "maven3.8.4"
+ }
+ stages{
+ stages('Gitclone') {
+ steps{
+ sh "echo clone the latest applicatios version"
+ git https://github.com/Pline-org/Maven-web-application
+ }
+ }
+ stages('Testbuild'){
+ steps{
+ sh "echo Running unitTesting"
+ sh "echo unitTesting ok. Creating packages"
+ sh "mvn clean package"
+ sh "echo Artifacts created"
+ }
+ }
+ stages('codeQuality'){
+ steps{
+ sh "echo Running codeQuality Report"
+ sh "mvn sonar:sonar"
+ }
+ }
+ stages('uploadArtifacts'){
+ steps{
+ sh "echo uploadArtifacts into nexus"
+ sh "mvn deploy"
+
+ }
+ }
+ stages('message'){
+ steps{
+ sh "echo CI job successful"
+ }
+
+ }
+
+ }
+
+}
+
+2. Continious Deployment job:
+ Deploy to docker
+
+ pipeline{
+ agent any
+ stages{
+ stages( 'predeployment'){
+ steps{
+ sh "docker build"
+ // sh "docker login -u mylamndmarktech"
+ sh "docker push"
+
+ }
+ }
+ stages( 'deployment'){
+ steps{
+ sh "echo ready for deployment"
+ sh "docker run"
+ }
+ }
+ }
+ }
+ }
From 26ff589fc0bbde057b06023d9e070ff0c6cc5b07 Mon Sep 17 00:00:00 2001
From: Johntawu <99775100+Johntawu@users.noreply.github.com>
Date: Sat, 30 Apr 2022 08:21:54 -0400
Subject: [PATCH 6/6] Add files via upload
---
delarative pipeline.yaml | 67 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
create mode 100644 delarative pipeline.yaml
diff --git a/delarative pipeline.yaml b/delarative pipeline.yaml
new file mode 100644
index 0000000000..a66ebcaf56
--- /dev/null
+++ b/delarative pipeline.yaml
@@ -0,0 +1,67 @@
+pipeline {
+ agent any
+ tools {
+ maven "maven3.8.4"
+ }
+ stages{
+ stages('Gitclone') {
+ steps{
+ sh "echo clone the latest applicatios version"
+ git https://github.com/Pline-org/Maven-web-application
+ }
+ }
+ stages('Testbuild'){
+ steps{
+ sh "echo Running unitTesting"
+ sh "echo unitTesting ok. Creating packages"
+ sh "mvn clean package"
+ sh "echo Artifacts created"
+ }
+ }
+ stages('codeQuality'){
+ steps{
+ sh "echo Running codeQuality Report"
+ sh "mvn sonar:sonar"
+ }
+ }
+ stages('uploadArtifacts'){
+ steps{
+ sh "echo uploadArtifacts into nexus"
+ sh "mvn deploy"
+
+ }
+ }
+ stages('message'){
+ steps{
+ sh "echo CI job successful"
+ }
+
+ }
+
+ }
+
+}
+
+2. Continious Deployment job:
+ Deploy to docker
+
+ pipeline{
+ agent any
+ stages{
+ stages( 'predeployment'){
+ steps{
+ sh "docker build"
+ // sh "docker login -u mylamndmarktech"
+ sh "docker push"
+
+ }
+ }
+ stages( 'deployment'){
+ steps{
+ sh "echo ready for deployment"
+ sh "docker run"
+ }
+ }
+ }
+ }
+ }