From 4a92ff61635867ec71157f740580c1885d9b8c21 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Mon, 22 Jul 2024 10:32:26 +0530
Subject: [PATCH 1/8] Update template.xhtml
---
src/main/webapp/template.xhtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/webapp/template.xhtml b/src/main/webapp/template.xhtml
index 8151566..ffd6014 100644
--- a/src/main/webapp/template.xhtml
+++ b/src/main/webapp/template.xhtml
@@ -10,7 +10,7 @@
-DevOps class - Ranjit Swain - Version: 2.7.2 - Batch7
+DevOps class - Ranjit Swain - Version: 2.8 - Batch-11
Just an example! - Webhook
From a001dc82bbc91317270a26ef1dcfba0990abd6d9 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Mon, 22 Jul 2024 10:34:16 +0530
Subject: [PATCH 2/8] Update template.xhtml
---
src/main/webapp/template.xhtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/webapp/template.xhtml b/src/main/webapp/template.xhtml
index ffd6014..cbcc377 100644
--- a/src/main/webapp/template.xhtml
+++ b/src/main/webapp/template.xhtml
@@ -10,7 +10,7 @@
-DevOps class - Ranjit Swain - Version: 2.8 - Batch-11
+DevOps class - Ranjit Swain - Version: 2.8.1 - Batch-11
Just an example! - Webhook
From c0f88e9516e3780e6329591b4182aba1b510073a Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Sat, 10 Aug 2024 10:05:49 +0530
Subject: [PATCH 3/8] Update Jenkinsfile
---
Jenkinsfile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index f722447..3c2174c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -2,10 +2,7 @@ pipeline {
agent any
tools {
- maven 'local_maven'
- }
- parameters {
- string(name: 'staging_server', defaultValue: '13.232.37.20', description: 'Remote Staging Server')
+ maven 'localMaven'
}
stages{
@@ -25,7 +22,7 @@ stages{
parallel{
stage ("Deploy to Staging"){
steps {
- sh "scp -v -o StrictHostKeyChecking=no **/*.war root@${params.staging_server}:/opt/tomcat/webapps/"
+ echo "Deploy to Staging"
}
}
}
From d9917747f0cbb8fdceb7d7e7d0a65fd406b32531 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Sat, 10 Aug 2024 10:09:05 +0530
Subject: [PATCH 4/8] Update Jenkinsfile
---
Jenkinsfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3c2174c..90512dc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,3 +1,4 @@
+@Library ('myLibrary')_
pipeline {
agent any
From 4b7259d3e4da4e137fa13b1d19abd9197fcd87e9 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Sat, 10 Aug 2024 10:12:45 +0530
Subject: [PATCH 5/8] Update Jenkinsfile
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 90512dc..b3c4123 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -9,7 +9,7 @@ pipeline {
stages{
stage('Build'){
steps {
- sh 'mvn clean package'
+ build-demo()
}
post {
success {
From 09a7f474768142373650d2f9682702b77b496bc3 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Sat, 10 Aug 2024 10:16:56 +0530
Subject: [PATCH 6/8] Update Jenkinsfile
---
Jenkinsfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b3c4123..2d16ef2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -9,7 +9,9 @@ pipeline {
stages{
stage('Build'){
steps {
- build-demo()
+ script{
+ build-demo()
+ }
}
post {
success {
From 91173483776d8c64a813b679270779578ab29746 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Sat, 10 Aug 2024 10:18:52 +0530
Subject: [PATCH 7/8] Update Jenkinsfile
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 2d16ef2..ec388db 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -10,7 +10,7 @@ stages{
stage('Build'){
steps {
script{
- build-demo()
+ build_demo()
}
}
post {
From aedc6dc450651549afbf002a94ab96b5e4dd6cb8 Mon Sep 17 00:00:00 2001
From: Ranjit Swain <58227542+ranjit4github@users.noreply.github.com>
Date: Sat, 10 Aug 2024 10:23:08 +0530
Subject: [PATCH 8/8] Update Jenkinsfile
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index ec388db..1dc05a5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -10,7 +10,7 @@ stages{
stage('Build'){
steps {
script{
- build_demo()
+ build_demo.java()
}
}
post {