diff --git a/Jenkinsfile.yml b/Jenkinsfile.yml new file mode 100644 index 00000000..c0cf4e5a --- /dev/null +++ b/Jenkinsfile.yml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: tomcat-deployment1 + labels: + app: tomcat +spec: + replicas: 3 + selector: + matchLabels: + app: tomcat + template: + metadata: + labels: + app: tomcat + spec: + containers: + - name: tomcat + image: 966911254/java-web-app + ports: + - containerPort: 8080 diff --git a/src/main/webapp/WEB-INF/views/jsp/index.jsp b/src/main/webapp/WEB-INF/views/jsp/index.jsp index 69673034..671e9ff9 100755 --- a/src/main/webapp/WEB-INF/views/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/views/jsp/index.jsp @@ -21,7 +21,7 @@
-

${title}

+

Hai

Hello ${msg} @@ -40,8 +40,8 @@

-

Welcome To Mithun Technologies, Marathahalli, Banglore.

-

Contact @ +91-8296242028 ,+91-9980923226

+

Welcome Sriram panchaparvala

+

Yay!! You made it