diff --git a/Jenkinfile b/Jenkinfile new file mode 100644 index 000000000..3f68ef4cb --- /dev/null +++ b/Jenkinfile @@ -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' + } + } + + } +} diff --git a/README.md b/README.md index 8196d2013..f8ce6a161 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # maven-project -Simple Maven Project +Simple Maven Project..... +testing code push +1 +2 +3 diff --git a/pom.xml b/pom.xml index eccd20688..1ba83328a 100644 --- a/pom.xml +++ b/pom.xml @@ -34,8 +34,8 @@ maven-compiler-plugin - 1.6 - 1.6 + 1.7 + 1.7 @@ -90,7 +90,10 @@ maven-checkstyle-plugin 2.8 - + + maven-war-plugin + 3.2.2 + maven-compiler-plugin 2.3.2 diff --git a/test.yanl b/test.yanl new file mode 100644 index 000000000..504adc494 --- /dev/null +++ b/test.yanl @@ -0,0 +1,4 @@ +test: + - a + - b + - c diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp index bb784b798..881821fca 100644 --- a/webapp/src/main/webapp/index.jsp +++ b/webapp/src/main/webapp/index.jsp @@ -1,2 +1,194 @@ - Hello, Welcome to Valaxy Technologies !!! + + + + + + + + + +Checkout Form +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. + + + + + + + + Billing Address + Full Name + + Email + + Address + + City + + + + + State + + + + Zip + + + + + + + Payment + Accepted Cards + + + + + + + Name on Card + + Credit card number + + Exp Month + + + + Exp Year + + + + CVV + + + + + + + + Shipping address same as billing + + + + + + + + Cart 4 + Product 1 $15 + Product 2 $5 + Product 3 $8 + Product 4 $2 + + Total $30 + + + + + +
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.
Product 1 $15
Product 2 $5
Product 3 $8
Product 4 $2
Total $30