diff --git a/01062024 b/01062024
new file mode 100644
index 0000000000..f0c0a6d76d
--- /dev/null
+++ b/01062024
@@ -0,0 +1 @@
+Hi this file has created to demo pull to local
diff --git a/55 b/55
index 3f02eca2a7..b0f3cfce34 100644
--- a/55
+++ b/55
@@ -1 +1 @@
-dummy data
+Modifing this line to test webhook
diff --git a/90 b/90
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/Ethans672 b/Ethans672
new file mode 100644
index 0000000000..c457579e9e
--- /dev/null
+++ b/Ethans672
@@ -0,0 +1,4 @@
+Hi this file is createing for Demo pull
+I am adding this line from local repo
+I am adding this line from US67890 branch
+Just changing this to show PollSCM
diff --git a/Jenkins-decnew b/Jenkins-decnew
index 831e9b1468..e30ad28845 100644
--- a/Jenkins-decnew
+++ b/Jenkins-decnew
@@ -7,7 +7,7 @@ pipeline{
stages{
stage("Git Checkout"){
steps{
- git credentialsId: 'javahome2', url: 'https://github.com/srinivas1987devops/myweb.git'
+ git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git'
}
}
stage("Maven Build"){
@@ -20,11 +20,11 @@ pipeline{
steps{
sshagent(['tomcat-new']) {
sh """
- scp -o StrictHostKeyChecking=no target/myweb.war ec2-user@172.31.11.44:/home/ec2-user/apache-tomcat-9.0.27/webapps/
+ scp -o StrictHostKeyChecking=no target/myweb.war ec2-user@172.31.41.7:/home/ec2-user/apache-tomcat-9.0.29/webapps/
- ssh ec2-user@172.31.11.44 /home/ec2-user/apache-tomcat-9.0.27/bin/shutdown.sh
+ ssh ec2-user@172.31.41.7 /home/ec2-user/apache-tomcat-9.0.29/bin/shutdown.sh
- ssh ec2-user@172.31.11.44 /home/ec2-user/apache-tomcat-9.0.27/bin/startup.sh
+ ssh ec2-user@172.31.41.7 /home/ec2-user/apache-tomcat-9.0.29/bin/startup.sh
"""
}
diff --git a/Jenkins-sonar-nexus b/Jenkins-sonar-nexus
new file mode 100644
index 0000000000..afc368d3b4
--- /dev/null
+++ b/Jenkins-sonar-nexus
@@ -0,0 +1,51 @@
+pipeline{
+ agent any
+
+ stages{
+ stage("Git Checkout"){
+ steps{
+ git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git'
+ }
+ }
+ stage("Maven Build"){
+ steps{
+ sh "mvn clean sonar:sonar package"
+
+ }
+ }
+ stage('Upload War To Nexus'){
+ steps{
+ nexusArtifactUploader artifacts: [
+ [
+ artifactId: 'myweb',
+ classifier: '',
+ file: "target/myweb-8.2.6-SNAPSHOT.war",
+ type: 'war'
+ ]
+ ],
+ credentialsId: 'nexus3',
+ groupId: 'in.javahome',
+ nexusUrl: '172.31.38.174:8081',
+ nexusVersion: 'nexus3',
+ protocol: 'http',
+ repository: 'sample-snapshots',
+ version: '8.2.6-SNAPSHOT'
+ }
+ }
+ # stage("deploy-dev"){
+ # steps{
+ # sshagent(['tomcat-new']) {
+ # sh """
+ # scp -o StrictHostKeyChecking=no target/myweb-8.2.5.war jenkins@192.168.1.80:/tomcatsoft/apache-tomcat-9.0.56/webapps
+ #
+ # ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/shutdown.sh
+
+ # ssh jenkins@192.168.1.80 /tomcatsoft/apache-tomcat-9.0.56/bin/startup.sh
+
+ # """
+ #}
+
+ #}
+ }
+ }
+}
diff --git a/Jenkins-terraform b/Jenkins-terraform
new file mode 100644
index 0000000000..65f81fea4d
--- /dev/null
+++ b/Jenkins-terraform
@@ -0,0 +1,48 @@
+pipeline {
+
+ parameters {
+ string(name: 'environment', defaultValue: 'Prod', description: 'Workspace/Environment file to use for deployment')
+ string(name: 'region', defaultValue: 'us-east-1', description: 'Workspace/region file to use for deployment')
+
+
+ }
+ agent any
+ stages {
+ stage('Download terraform code from Gihub') {
+ steps {
+ git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git'
+ }
+ }
+ stage('DummyStage') {
+ steps {
+ sh """
+ echo "this is dummystage to understand"
+ """
+ }
+ }
+ stage('Terraform Ininitialization') {
+ steps {
+ sh """
+ cd /var/lib/jenkins/workspace/${JOB_NAME}
+ terraform init -reconfigure
+ """
+ }
+ }
+ stage('Terraform Plan') {
+ steps {
+ sh """
+ cd /var/lib/jenkins/workspace/${JOB_NAME}
+ terraform plan -out=plan.${BUILD_NUMBER} -var profile=${params.environment} -var region=${params.region}
+ """
+ }
+ }
+ stage('Terraform Apply') {
+ steps {
+ sh """
+ cd /var/lib/jenkins/workspace/${JOB_NAME}
+ terraform apply plan.${BUILD_NUMBER}
+ """
+ }
+ }
+ }
+}
diff --git a/Jenkins-tomcat_byme b/Jenkins-tomcat_byme
new file mode 100644
index 0000000000..c363058849
--- /dev/null
+++ b/Jenkins-tomcat_byme
@@ -0,0 +1,57 @@
+pipeline{
+ agent any
+ tools {
+ maven 'Maven-3.6.1'
+ }
+
+ environment{
+ PATH = "/opt/maven3/bin:$PATH"
+ }
+ stages{
+ stage("Git Checkout"){
+ steps{
+ git 'https://github.com/lakshmiprasad2019/myweb.git'
+ }
+ }
+ stage("Maven Build"){
+ steps{
+ sh "mvn clean sonar:sonar package"
+
+ }
+ }
+ stage('Upload War To Nexus'){
+ steps{
+ nexusArtifactUploader artifacts: [
+ [
+ artifactId: 'myweb',
+ classifier: '',
+ file: "target/myweb-8.2.0.war",
+ type: 'war'
+ ]
+ ],
+ credentialsId: 'nexu3',
+ groupId: 'in.javahome',
+ nexusUrl: '172.31.33.1:8081',
+ nexusVersion: 'nexus3',
+ protocol: 'http',
+ repository: 'sample-release',
+ version: '8.2.0'
+ }
+ }
+ stage("deploy-dev"){
+ steps{
+ sshagent(['tomcat-new1']) {
+ sh """
+ scp -o StrictHostKeyChecking=no target/myweb-8.2.0.war ec2-user@172.31.33.111:/home/ec2-user/apache-tomcat-9.0.80/webapps/
+
+ ssh ec2-user@172.31.33.111 /home/ec2-user/apache-tomcat-9.0.80/bin/shutdown.sh
+
+ ssh ec2-user@172.31.33.111 /home/ec2-user/apache-tomcat-9.0.80/bin/startup.sh
+
+ """
+ }
+
+ }
+ }
+ }
+}
diff --git a/Jenkinsfile-sonar-nexuseample b/Jenkinsfile-sonar-nexuseample
new file mode 100644
index 0000000000..395daa0fcb
--- /dev/null
+++ b/Jenkinsfile-sonar-nexuseample
@@ -0,0 +1,23 @@
+pipeline{
+ agent any
+
+ stages{
+ stage("Git Checkout"){
+ steps{
+ git credentialsId: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git'
+ }
+ }
+ stage("Maven Build"){
+ steps{
+ sh "mvn clean sonar:sonar package"
+
+ }
+ }
+ stage('Upload War To Nexus repo'){
+ steps{
+ nexusArtifactUploader artifacts: [[artifactId: 'myweb', classifier: '', file: 'target/myweb-9.0.3-SNAPSHOT.war', type: 'war']], credentialsId: 'nexus4', groupId: 'in.javahome', nexusUrl: '65.2.161.67:8081', nexusVersion: 'nexus3', protocol: 'http', repository: 'mysnapshot', version: '9.0.3-SNAPSHOT'
+ }
+ }
+
+ }
+ }
diff --git a/Jenkinsfile_myterraformpipeline b/Jenkinsfile_myterraformpipeline
new file mode 100644
index 0000000000..06fa31ecfc
--- /dev/null
+++ b/Jenkinsfile_myterraformpipeline
@@ -0,0 +1,27 @@
+pipeline {
+ agent any
+
+ stages {
+ stage('git checkout') {
+ steps {
+ git 'https://github.com/lakshmiprasad2019/myweb.git'
+ }
+ }
+ stage('terraform init phase') {
+ steps {
+ sh 'terraform init'
+ }
+ }
+ stage('terraform plan phase') {
+ steps {
+ sh 'terraform plan -out $BUILD_NUMBER'
+ }
+ }
+ stage('terraform apply phase') {
+ steps {
+ sh 'terraform apply $BUILD_NUMBER'
+ }
+ }
+
+ }
+}
diff --git a/__variables b/__variables
new file mode 100644
index 0000000000..78d9896cc6
--- /dev/null
+++ b/__variables
@@ -0,0 +1,3 @@
+variable "profile" {
+ profile = "/var/lib/jenkins/.aws/credentials"
+}
diff --git a/abc b/abc
new file mode 100644
index 0000000000..85a76f5426
--- /dev/null
+++ b/abc
@@ -0,0 +1,3 @@
+hello this is file modify
+this is modified file
+this is 3rd modificaiton
diff --git a/alankey.pem b/alankey.pem
new file mode 100644
index 0000000000..4e29a979e2
--- /dev/null
+++ b/alankey.pem
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpQIBAAKCAQEAjjWqQwDfymepp3tmxbpvPss8TdYApDyrQ7trao1M8ZgnIFJr
+aR9LMd5ViYTRr6/RwozuRS1p1287Ec6tT3eN34zIhcel23eOLBNsXJHWmeZjjzX4
+6q47R+oukO8chE9E09XXO/AGH+zSTrifAO/lCRwOV/mCK+UFr/s5LS1PDKNCh7q1
+9x9OBKwgY44NeB9QqFbhPL7aZY7j6GvH3bRsFFjPHBKaRps2wGgmIFtWfZ575FVT
+BhHdH0qR47HuFDCgx0di42Wbwz5kIWrXK2e0231FRmVpbCVLkbHAhtT6Atq0KDFE
+U/ab0r8HX7W26ESddTItkEQKAbzYiYXiIqjHQwIDAQABAoIBAQCBhsepd6ZeCMUx
+0ufsuL6ShzJKAt1auheT/aT8y+6FLnyUp/1FJkerCEMImn0SdCWt+gcb4x1AKAO5
+WHHqq44BS41orEuY9e/8nURZnEvGqV2NFy+9MSy1d8sqH1/t8vVRrLf508kAUwfK
+w8WvaNFH1tIJtyylJlhjzYJqb5ZMfw5sKe7SG3moWg0tTr50Bv49CbMy65x8ynAb
+jGTAxUWX5YrtNo/ZZxx1ixq/6CgUXUWq1M1dsIe33wtakQUp+UypKgGpXO3dU0DS
+kpqLHA5+yWXjBqikaQD9mtx49OnHewzuCXB5yHSRO9kcwgwXfQP+O3Lf9VS9Cb4w
+YbGY4B8hAoGBAPrqnFOH4oj5bCcRynbfGWvxMP0UoAjLlvBxigVWIvdjizqsdrtu
+iixlCvldChhkV8pLBp2QO5YP0CkWdFyx+6NjrtmQQ2/UK1+15lHYhSE2ICS0eRkk
+7sdn7Jq8m2PPpQ6TUWS6P+CyFckhlzAwpiO71a836Gg0NJX431Ay6vGHAoGBAJEX
+Pd4nfIjq2IqfaBpnHRx32Oq90VD0132NKelPuIqTNwAsSY67SQ9P0hmoJiH/PyMP
+TeJyS4YrxYiDjzD2Efc4TZNG9azx5mfgEcA5yzAegsvOguHOQ9tMSTrof0Hqy7+4
+fqWWJED6iqEIvMH/VpUOBbP5LsCV3ybrbxmwH9tlAoGBAIOZ63XwLkOTNkNjlGI2
+bznrHbuPRsR2K2te0XotDFfecNbMP9Xci0HvmQri3nmen2DtasHXNTlmf9IdAdjg
+TNAMZ1eaz5Pmnv0rBWrl+iVKIx+9PEqQ0V/qxPD/fSyjarmzUJxZB0nNfZmpMYfH
+7EuPp+qnkxCcWPxTtKR2oD0fAoGAKD+ORgYmIcUj9LBrrIdWKAOHBPdLDW4eKRHz
+wmj/BFH6O+4NKa8CgWDfI4blrSClXxBrxpl2Ie4aidgU7LwWF8JioqxYknU4OTCL
+PAvMNbkBB5Bt9j3FzRvIZLMCOkLr6m8/kqenvu7BbhKCaj5uwkJ1iothUMNCeAVv
+eGzHKZECgYEAorQAEOHYve7cNu3N+lB5UqXC/tTeR5IVZtqfOUHaAdaxVAlYy8QN
+r7XxF8o5fSqoHw1fp15sE18Ffn6scjAjcSM2C665sUxJIQGQR51Px/IMghKAgrST
+MglOTmzso+MrqJFD9JJzIuQboumXo8CdcixhKVH7RJJ9hiTFfRojHUw=
+-----END RSA PRIVATE KEY-----
diff --git a/bannu b/bannu
new file mode 100644
index 0000000000..557281f705
--- /dev/null
+++ b/bannu
@@ -0,0 +1 @@
+i am new to devops
diff --git a/bumra b/bumra
new file mode 100644
index 0000000000..31c29d5e8c
--- /dev/null
+++ b/bumra
@@ -0,0 +1 @@
+he is a bowler
diff --git a/cherry b/cherry
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/deployments.yml b/deployments.yml
index 91a67a7d63..a039dfdadb 100644
--- a/deployments.yml
+++ b/deployments.yml
@@ -16,6 +16,6 @@ spec:
spec:
containers:
- name: myweb
- image: kammana/myweb:"$(version)"
+ image: jaggarapup/myimage_fusion
ports:
- containerPort: 8080
diff --git a/eeksha b/eeksha
new file mode 100644
index 0000000000..018e81bc06
--- /dev/null
+++ b/eeksha
@@ -0,0 +1,6 @@
+hello this is first git file
+this is second line modify
+this is third line modify
+this is forth line modify
+this is fifth line modify
+This is to show demo of webhook demo
diff --git a/joy b/joy
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/laks b/laks
new file mode 100644
index 0000000000..d20a0a7fed
--- /dev/null
+++ b/laks
@@ -0,0 +1,2 @@
+hello this file
+hello again modified
diff --git a/main.tf b/main.tf
new file mode 100644
index 0000000000..35d60b54fd
--- /dev/null
+++ b/main.tf
@@ -0,0 +1,48 @@
+terraform {
+ required_providers {
+ aws = {
+ source = "hashicorp/aws"
+
+ }
+ }
+}
+
+# Configure the AWS Provider
+provider "aws" {
+ region = "us-east-1"
+
+}
+resource "aws_instance" "myec2" {
+ instance_type = "t2.medium"
+ ami = data.aws_ami.app_ami.id
+
+
+ tags = {
+ Name = "import"
+ }
+
+}
+resource "aws_instance" "myec2-poll" {
+ instance_type = "t2.medium"
+ ami = data.aws_ami.app_ami.id
+
+
+ tags = {
+ Name = "Poll"
+ }
+
+}
+#resource "aws_eip" "lb" {
+ # instance = aws_instance.myec2.id
+# vpc = true
+#}
+data "aws_ami" "app_ami" {
+ owners = ["amazon"]
+ most_recent = true
+
+
+ filter {
+ name = "name"
+ values = ["amzn2-ami-kernel-5.10**"]
+ }
+}
diff --git a/patan b/patan
new file mode 100644
index 0000000000..3f4c1bcf10
--- /dev/null
+++ b/patan
@@ -0,0 +1 @@
+he is a test player
diff --git a/pom.xml b/pom.xml
index f4d6dd3938..bbb0e25c52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,49 +1,65 @@
- 4.0.0
- in.javahome
- myweb
- war
- 8.2.0
- Java Home myweb
- http://maven.apache.org
-
-
- kammana
- http://172.31.13.197:9000/
-
-
-
-
-
-
- junit
- junit
- 3.8.1
- test
-
-
-
-
-
-
- nexusRepo
- http://13.127.34.227:8081/repository/sample-snapshots/
-
-
-
- nexusRepo
- http://13.127.34.227:8081/repository/sample-releases/
-
-
-
-
-
- maven1
- Maven.org
- http://repo1.maven.org/maven2
-
-
-
-
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ 4.0.0
+ in.javahome
+ myweb
+ war
+ 8.2.17-SNAPSHOT
+ Java Home myweb
+ http://maven.apache.org
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.10.1
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ 3.3.2
+
+
+
+
+ kammana
+ http://18.215.172.223:9000/
+ 1.8
+ 1.8
+
+
+
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
+
+
+
+ nexusRepo
+ http://34.224.166.142:8081/repository/mysnapshot/
+
+
+
+ nexusRepo
+ http://34.224.166.142:8081/repository/myrelease/
+
+
+
+
+
+ maven1
+ Maven.org
+ http://repo1.maven.org/maven2
+
+
+
+
diff --git a/prasad9 b/prasad9
new file mode 100644
index 0000000000..c0252b6216
--- /dev/null
+++ b/prasad9
@@ -0,0 +1 @@
+mnef;ijhecipc;kbv;ci
diff --git a/ruler b/ruler
new file mode 100644
index 0000000000..f346bdc992
--- /dev/null
+++ b/ruler
@@ -0,0 +1 @@
+balayya
diff --git a/sahoo7 b/sahoo7
new file mode 100644
index 0000000000..da8595a9fa
--- /dev/null
+++ b/sahoo7
@@ -0,0 +1 @@
+mfipupicn;kbivcg;cn;kw;f'
diff --git a/sap b/sap
new file mode 100644
index 0000000000..1314edf472
--- /dev/null
+++ b/sap
@@ -0,0 +1 @@
+this is sap file
diff --git a/setenv.sh b/setenv.sh
index 77e066afff..93a6033699 100644
--- a/setenv.sh
+++ b/setenv.sh
@@ -1,3 +1,4 @@
export JAVA_OPTS= "-Xms128m -Xmx1024m"
export JAVA_OPTS_123= "-Xms128m -Xmx1024m"
export JAVA_OPTS_12345= "-Xms128m -Xmx1024m"
+echo "date"
diff --git a/som b/som
new file mode 100644
index 0000000000..b2c57ec8c2
--- /dev/null
+++ b/som
@@ -0,0 +1,5 @@
+<<<<<<< Updated upstream
+this is called
+=======
+something for stash
+>>>>>>> Stashed changes
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
index dd9ef3a43c..0e807dc44e 100644
--- a/src/main/webapp/index.jsp
+++ b/src/main/webapp/index.jsp
@@ -1,5 +1,169 @@
-
+
+
+
+
+
+
+
+ Mr. Camel
+
+
+
+
- JavaHome App Version-26
+
+
+
+
+ About Me
+ I don't look like some handsome horse, but I am a real desert king. I can survive days without water.
+ My Career
+ I work as a web developer for a company that makes websites for camel businesses.
+
+ How Can I Help You?
+
+
+ | SKILL 1 |
+ SKILL 2 |
+ SKILL 3 |
+
+
+ |
+ |
+ |
+
+
+ | Cleaning kaktus in your backyard |
+ Storing some fat for you |
+ Taking you through the desert |
+
+
+
+
+
+
+
+
diff --git a/vars.tf b/vars.tf
new file mode 100644
index 0000000000..f44cbb19f5
--- /dev/null
+++ b/vars.tf
@@ -0,0 +1,6 @@
+#variable "profile" {
+# type = string
+#}
+#variable "region" {
+# type = string
+#}
diff --git a/yousuf b/yousuf
new file mode 100644
index 0000000000..19e83fb7e4
--- /dev/null
+++ b/yousuf
@@ -0,0 +1 @@
+he is batsman