Skip to content
Open

Uat #340

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
aa72231
resolved pom issue to add plugin
Jul 20, 2023
8bf1da0
Update index.jsp
sandeepsingh07 Jul 26, 2023
518e0b9
Update index.jsp
sandeepsingh07 Jul 26, 2023
dce4911
Update index.jsp
sandeepsingh07 Jul 26, 2023
72eb33c
Update index.jsp
sandeepsingh07 Aug 3, 2023
8de37cf
Update index.jsp
sandeepsingh07 Apr 11, 2024
1124224
Update index.jsp
sandeepsingh07 Apr 11, 2024
aca32dd
Update README.md
sandeepsingh07 Apr 11, 2024
c3b574b
Create Jenkinfile
sandeepsingh07 Apr 12, 2024
b1bfc79
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
21f537d
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
7181b81
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
113dda0
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
5817369
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
490c833
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
be1bc9e
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
77b26db
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
757d842
Update Jenkinfile
sandeepsingh07 Apr 12, 2024
54a3efe
Update index.jsp
sandeepsingh07 Apr 23, 2024
a648e78
Update pom.xml
sandeepsingh07 Aug 30, 2024
2651bd3
README
Aug 30, 2024
ab6203e
Update pom.xml
sandeepsingh07 Sep 20, 2024
12204de
Update pom.xml
sandeepsingh07 Sep 20, 2024
62d7d8e
Update README.md
sandeepsingh07 Sep 20, 2024
77b0446
Update index.jsp
sandeepsingh07 Sep 25, 2024
386a579
Update index.jsp
sandeepsingh07 Sep 25, 2024
7a08c5b
Update index.jsp
sandeepsingh07 Oct 2, 2024
c699f83
Update README.md
sandeepsingh07 Oct 2, 2024
f4c9bc6
Update Jenkinfile
sandeepsingh07 Oct 2, 2024
bfa6fa8
Update Jenkinfile
sandeepsingh07 Oct 2, 2024
65185f5
Update Jenkinfile
sandeepsingh07 Oct 2, 2024
d6339ab
README update
Mar 20, 2026
37cc956
Add test section to test.yanl
sandeepsingh07 Mar 23, 2026
a074464
Add item 'c' to the test list in test.yanl
sandeepsingh07 Mar 23, 2026
2c098dd
Update README with testing code push note
sandeepsingh07 Mar 23, 2026
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
27 changes: 27 additions & 0 deletions Jenkinfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pipeline {
agent any

tools {
// Install the Maven version configured as "M3" and add it to the path.
maven "maven"
}

stages {
stage('Git Clone') {
steps {
git 'https://github.com/sandeepsingh07/hello-world-1.git'
}
}
stage('Build'){
steps{
sh "mvn clean package"
}
}
stage('Deploy to tomcat'){
steps{
deploy adapters: [tomcat9(credentialsId: 'tomcat', path: '', url: 'http://44.212.46.140:8080/')], contextPath: null, war: '**/*.war'
}
}

}
}
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# maven-project

Simple Maven Project
Simple Maven Project.....
testing code push
1
2
3
9 changes: 6 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>

Expand Down Expand Up @@ -90,7 +90,10 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.8</version>
</plugin>

<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
Expand Down
4 changes: 4 additions & 0 deletions test.yanl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test:
- a
- b
- c
194 changes: 193 additions & 1 deletion webapp/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,2 +1,194 @@
<h1> Hello, Welcome to Valaxy Technologies !!! </h1>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {
font-family: Arial;
font-size: 17px;
padding: 8px;
}

* {
box-sizing: border-box;
}

.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
margin: 0 -16px;
}

.col-25 {
-ms-flex: 25%; /* IE10 */
flex: 25%;
}

.col-50 {
-ms-flex: 50%; /* IE10 */
flex: 50%;
}

.col-75 {
-ms-flex: 75%; /* IE10 */
flex: 75%;
}

.col-25,
.col-50,
.col-75 {
padding: 0 16px;
}

.container {
background-color: #f2f2f2;
padding: 5px 20px 15px 20px;
border: 1px solid lightgrey;
border-radius: 3px;
}

input[type=text] {
width: 100%;
margin-bottom: 20px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 3px;
}

label {
margin-bottom: 10px;
display: block;
}

.icon-container {
margin-bottom: 20px;
padding: 7px 0;
font-size: 24px;
}

.btn {
background-color: #04AA6D;
color: white;
padding: 12px;
margin: 10px 0;
border: none;
width: 100%;
border-radius: 3px;
cursor: pointer;
font-size: 17px;
}

.btn:hover {
background-color: #45a049;
}

a {
color: #2196F3;
}

hr {
border: 1px solid lightgrey;
}

span.price {
float: right;
color: grey;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (also change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {
.row {
flex-direction: column-reverse;
}
.col-25 {
margin-bottom: 20px;
}
}
</style>
</head>
<body>

<h2>Checkout Form</h2>
<p>Resize the browser window to see the effect. When the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other.</p>
<div class="row">
<div class="col-75">
<div class="container">
<form action="/action_page.php">

<div class="row">
<div class="col-50">
<h3>Billing Address</h3>
<label for="fname"><i class="fa fa-user"></i> Full Name</label>
<input type="text" id="fname" name="firstname" placeholder="John M. Doe">
<label for="email"><i class="fa fa-envelope"></i> Email</label>
<input type="text" id="email" name="email" placeholder="john@example.com">
<label for="adr"><i class="fa fa-address-card-o"></i> Address</label>
<input type="text" id="adr" name="address" placeholder="542 W. 15th Street">
<label for="city"><i class="fa fa-institution"></i> City</label>
<input type="text" id="city" name="city" placeholder="New York">

<div class="row">
<div class="col-50">
<label for="state">State</label>
<input type="text" id="state" name="state" placeholder="NY">
</div>
<div class="col-50">
<label for="zip">Zip</label>
<input type="text" id="zip" name="zip" placeholder="10001">
</div>
</div>
</div>

<div class="col-50">
<h3>Payment</h3>
<label for="fname">Accepted Cards</label>
<div class="icon-container">
<i class="fa fa-cc-visa" style="color:navy;"></i>
<i class="fa fa-cc-amex" style="color:blue;"></i>
<i class="fa fa-cc-mastercard" style="color:red;"></i>
<i class="fa fa-cc-discover" style="color:orange;"></i>
</div>
<label for="cname">Name on Card</label>
<input type="text" id="cname" name="cardname" placeholder="John More Doe">
<label for="ccnum">Credit card number</label>
<input type="text" id="ccnum" name="cardnumber" placeholder="1111-2222-3333-4444">
<label for="expmonth">Exp Month</label>
<input type="text" id="expmonth" name="expmonth" placeholder="September">
<div class="row">
<div class="col-50">
<label for="expyear">Exp Year</label>
<input type="text" id="expyear" name="expyear" placeholder="2018">
</div>
<div class="col-50">
<label for="cvv">CVV</label>
<input type="text" id="cvv" name="cvv" placeholder="352">
</div>
</div>
</div>

</div>
<label>
<input type="checkbox" checked="checked" name="sameadr"> Shipping address same as billing
</label>
<input type="submit" value="Continue to checkout" class="btn">
</form>
</div>
</div>
<div class="col-25">
<div class="container">
<h4>Cart <span class="price" style="color:black"><i class="fa fa-shopping-cart"></i> <b>4</b></span></h4>
<p><a href="#">Product 1</a> <span class="price">$15</span></p>
<p><a href="#">Product 2</a> <span class="price">$5</span></p>
<p><a href="#">Product 3</a> <span class="price">$8</span></p>
<p><a href="#">Product 4</a> <span class="price">$2</span></p>
<hr>
<p>Total <span class="price" style="color:black"><b>$30</b></span></p>
</div>
</div>
</div>

</body>
</html>