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"
+ }
+ }
+ }
+ }
+ }
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"
+ }
+ }
+ }
+ }
+ }
diff --git a/pom.xml b/pom.xml
index 31ecb53c29..dfd50d3475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,16 +21,13 @@
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
UTF-8
-
- mylandmarktechs
- https://sonarcloud.io
-
+
@@ -101,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/