Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testpr #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Jenkinsfile.yml
Original file line number Diff line number Diff line change
@@ -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: 9966911254/java-web-app
ports:
- containerPort: 8080
6 changes: 3 additions & 3 deletions src/main/webapp/WEB-INF/views/jsp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<div class="jumbotron">
<div class="container">
<h1>${title}</h1>
<h1>Hai</h1>
<p>
<c:if test="${not empty msg}">
Hello ${msg}
Expand All @@ -40,8 +40,8 @@

<div class="row">
<div class="col-md-8">
<h2>Welcome To Mithun Technologies, Marathahalli, Banglore.</h2>
<h3>Contact @ +91-8296242028 ,+91-9980923226</h3>
<h2>Welcome Sriram panchaparvala</h2>
<h3>Yay!! You made it</h3>
</div>
</div>

Expand Down