Skip to content
Open

til #417

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
9988ae4
Update Jenkins-decnew
krishnaobbu Jun 4, 2022
72d8c7e
Update Jenkins-decnew
krishnaobbu Jun 4, 2022
60344d1
Update Jenkins-decnew
krishnaobbu Jun 4, 2022
a048c72
Update Jenkins-decnew
krishnaobbu Jun 8, 2022
45023ad
Update pom.xml
krishnaobbu Jun 8, 2022
da86384
Update pom.xml
krishnaobbu Jun 8, 2022
78b0830
Update index.jsp
krishnaobbu Jul 24, 2023
0f2ca36
Update index.jsp
krishnaobbu Jul 24, 2023
223bec3
Update index.jsp
krishnaobbu Jul 24, 2023
849393a
Update pom.xml
krishnaobbu Aug 2, 2023
c5b2495
Update index.jsp
krishnaobbu Feb 4, 2024
aed151e
Update index.jsp
krishnaobbu Feb 4, 2024
62365a1
Update Jenkins-decdemo
krishnaobbu Feb 4, 2024
8211c33
Update pom.xml
krishnaobbu Mar 7, 2024
77a239c
Update pom.xml
krishnaobbu Mar 14, 2024
7d5418f
Update pom.xml
krishnaobbu Mar 14, 2024
8b38431
Update pom.xml
krishnaobbu Mar 14, 2024
a26b356
Update pom.xml
krishnaobbu Mar 15, 2024
bd3e7e3
Update index.jsp
krishnaobbu Mar 24, 2024
d238fc4
preprod changes
krishnaobbu Apr 2, 2024
f711684
all changes
krishnaobbu Apr 2, 2024
1c8b45a
listoff
krishnaobbu Apr 4, 2024
3c44815
krishna
krishnaobbu Apr 4, 2024
47f5624
file1
krishnaobbu Apr 4, 2024
6474853
file2
krishnaobbu Apr 4, 2024
a27e235
Merge branch 'preprod' into uat
krishnaobbu Apr 4, 2024
6497ee6
file3
krishnaobbu Apr 4, 2024
bcb3226
balafour
krishnaobbu Apr 4, 2024
880a377
bala3
krishnaobbu Apr 4, 2024
b8461e0
Merge branch 'uat'
krishnaobbu Apr 4, 2024
b1e7715
new1bala
krishnaobbu Apr 4, 2024
515aa36
nextmethod
krishnaobbu Apr 4, 2024
0ca148e
Create dddddddddddd
krishnaobbu Apr 5, 2024
ec19c22
Merge pull request #1 from krishnaobbu/uat
krishnaobbu Apr 5, 2024
2735601
rrr
krishnaobbu Apr 5, 2024
a9ab2dc
aaa
krishnaobbu Apr 5, 2024
a3513dd
file3
krishnaobbu Apr 4, 2024
ce06d0b
bala3
krishnaobbu Apr 4, 2024
f09b3f1
balanew1
krishnaobbu Apr 4, 2024
9df07ab
bbb
krishnaobbu Apr 5, 2024
0483788
ccc
krishnaobbu Apr 5, 2024
e9d9169
lll
krishnaobbu Apr 5, 2024
43ca61c
Merge branch 'uat'
krishnaobbu Apr 5, 2024
69e7df8
lll
krishnaobbu Apr 5, 2024
f26002e
Merge branch 'uat'
krishnaobbu Apr 5, 2024
838d61d
sss
krishnaobbu Apr 5, 2024
6f48e93
sss
krishnaobbu Apr 5, 2024
490dd3a
qqq
krishnaobbu Apr 5, 2024
20729a3
qqq
krishnaobbu Apr 5, 2024
a1553bd
five
krishnaobbu Apr 5, 2024
24baf68
Merge branch 'five'
krishnaobbu Apr 5, 2024
63c76ea
hhh
krishnaobbu Apr 5, 2024
a81e5c3
ooo
krishnaobbu Apr 5, 2024
9f8dd01
Merge branch 'dev1'
krishnaobbu Apr 5, 2024
dfdabd2
oooo
krishnaobbu Apr 5, 2024
2090221
oooo
krishnaobbu Apr 5, 2024
af32756
jjjjjj
krishnaobbu Apr 5, 2024
12bb81d
Create login
krishnaobbu Apr 5, 2024
9a06823
Merge pull request #2 from krishnaobbu/uat
krishnaobbu Apr 5, 2024
b1e196b
merge-conf
krishnaobbu Apr 8, 2024
94035bc
merge-conf
krishnaobbu Apr 8, 2024
c2482c5
Merge branch 'five'
krishnaobbu Apr 8, 2024
30252bd
touch
krishnaobbu Apr 8, 2024
90badae
touch1
krishnaobbu Apr 8, 2024
a136505
Merge branch 'five'
krishnaobbu Apr 8, 2024
90cf093
kube
krishnaobbu Apr 8, 2024
3076ca6
touch-merge
krishnaobbu Apr 8, 2024
81665fc
Merge branch 'master' of https://github.com/krishnaobbu/myweb
krishnaobbu Apr 8, 2024
92df19a
touch-merge
krishnaobbu Apr 8, 2024
b7da9ad
touch-merge
krishnaobbu Apr 8, 2024
e37fd27
touchmerge1
krishnaobbu Apr 8, 2024
20fbb9e
touchmerge1
krishnaobbu Apr 8, 2024
25e1361
update touchmerge1
krishnaobbu Apr 8, 2024
0a2af07
Create logincr
krishnaobbu Apr 8, 2024
2c5bcca
update logincr
krishnaobbu Apr 8, 2024
4c94568
Update index.jsp
krishnaobbu Apr 15, 2024
1bc0e55
Update index.jsp
krishnaobbu Apr 15, 2024
f2937fd
Update index.jsp
krishnaobbu Apr 15, 2024
f88fe10
Update index.jsp
krishnaobbu Apr 15, 2024
0165322
Update index.jsp
krishnaobbu Apr 15, 2024
84071bb
Update index.jsp
krishnaobbu Apr 15, 2024
3225044
Update index.jsp
krishnaobbu Apr 15, 2024
41757bb
Update index.jsp
krishnaobbu Apr 16, 2024
0dc8beb
Update index.jsp
krishnaobbu Apr 16, 2024
4ef81aa
Update pom.xml
krishnaobbu Apr 30, 2024
c0c4ca7
Update pom.xml
krishnaobbu Apr 30, 2024
ef04474
Update pom.xml
krishnaobbu Apr 30, 2024
6db0a59
Update pom.xml
krishnaobbu May 1, 2024
ee7bb72
Update pom.xml
krishnaobbu May 2, 2024
4c534d0
Create crate a file
krishnaobbu Sep 17, 2024
b196505
loginpage change
krishnaobbu Sep 17, 2024
4fea266
Delete jjjjjj
krishnaobbu Sep 18, 2024
54316ed
Delete sss
krishnaobbu Sep 18, 2024
3e139a2
Removed multiple files
krishnaobbu Sep 18, 2024
5cb01ea
rem
krishnaobbu Sep 18, 2024
c03e40a
Removed multiple files
krishnaobbu Sep 18, 2024
9bd79f9
Removed multiple files
krishnaobbu Sep 18, 2024
a846005
rem
krishnaobbu Sep 18, 2024
d4670a4
rem
krishnaobbu Sep 18, 2024
ecd99f4
r
krishnaobbu Sep 18, 2024
4503389
r
krishnaobbu Sep 18, 2024
0860674
r
krishnaobbu Sep 18, 2024
dacaf6b
r
krishnaobbu Sep 18, 2024
0608550
Update index.jsp
krishnaobbu Oct 1, 2024
b0ff853
Update index.jsp
krishnaobbu Oct 1, 2024
cb28e3c
Update index.jsp
krishnaobbu Oct 1, 2024
2ba4cc9
Update index.jsp
krishnaobbu Oct 1, 2024
13a55e6
Update index.jsp
krishnaobbu Oct 1, 2024
4cedec0
Update index.jsp
krishnaobbu Oct 1, 2024
32da2ba
Update index.jsp
krishnaobbu Oct 1, 2024
5a1e633
Update index.jsp
krishnaobbu Oct 4, 2024
3b784ba
Update pom.xml
krishnaobbu Oct 10, 2024
1384192
Update pom.xml
krishnaobbu Oct 10, 2024
36b10b7
Update deployments.yml
krishnaobbu Jan 21, 2025
ecebba9
Update deployments.yml
krishnaobbu Jan 21, 2025
6bd86a8
Update springBoot.yml
krishnaobbu Jan 22, 2025
465b7d6
Update Dockerfile
krishnaobbu Jan 22, 2025
ec19aad
Update index.jsp
krishnaobbu Jan 24, 2025
675a285
Update deployments.yml
krishnaobbu Jan 24, 2025
b11210c
Create service.yml
krishnaobbu Jan 24, 2025
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
File renamed without changes.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM tomcat:8.0.20-jre8
FROM tomcat:9.0
# Dummy text to test
COPY target/myweb*.war /usr/local/tomcat/webapps/myweb.war

COPY target/myweb*.war /usr/local/tomcat/webapps/
CMD ["catalina.sh","run"]
EXPOSE 8080
2 changes: 1 addition & 1 deletion Jenkins-ansible
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ pipeline{

}
}
}
hhhhhh}
35 changes: 24 additions & 11 deletions Jenkins-decdemo
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
pipeline{
pipeline {
agent any
stages{
stage("GIT checkout"){
steps{
git credentialsId: 'javahome', url: 'https://github.com/srinivas1987devops/myweb.git'

stages {
stage('git checkout') {
steps {
git 'https://github.com/krishnaobbu/myweb.git'
}
}
stage("Maven Build"){
steps{
sh "mvn clean package"
sh "mv target/*.war target/myweb.war"
stage('build') {
steps {
sh 'mvn clean package'
}
}
}
stage('deploy to dev') {
steps {
sshagent(['tomcat-new']) {
sh """
scp -o StrictHostKeyChecking=no target/myweb.war [email protected]:/home/ubuntu/apache-tomcat-9.0.85/webapps/

ssh [email protected] /home/ubuntu/apache-tomcat-9.0.85/bin/shutdown.sh

ssh [email protected] /home/ubuntu/apache-tomcat-9.0.85/bin/startup.sh

"""
}
}
}
}
}
10 changes: 5 additions & 5 deletions Jenkins-decnew
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pipeline{
stages{
stage("Git Checkout"){
steps{
git credentialsId: 'javahome2', url: 'https://github.com/srinivas1987devops/myweb.git'
git credentialsId: 'hari', url: 'https://github.com/krishnaobbu/myweb.git'
}
}
stage("Maven Build"){
Expand All @@ -18,13 +18,13 @@ pipeline{
}
stage("deploy-dev"){
steps{
sshagent(['tomcat-new']) {
sshagent(['hari-new']) {
sh """
scp -o StrictHostKeyChecking=no target/myweb.war [email protected].13.102:/home/ec2-user/apache-tomcat-9.0.63/webapps/
scp -o StrictHostKeyChecking=no target/myweb.war [email protected].6.54:/home/ec2-user/apache-tomcat-9.0.63/webapps/

ssh [email protected].13.102 /home/ec2-user/apache-tomcat-9.0.63/bin/shutdown.sh
ssh [email protected].6.54 /home/ec2-user/apache-tomcat-9.0.63/bin/shutdown.sh

ssh [email protected].13.102 /home/ec2-user/apache-tomcat-9.0.63/bin/startup.sh
ssh [email protected].6.54 /home/ec2-user/apache-tomcat-9.0.63/bin/startup.sh

"""
}
Expand Down
1 change: 0 additions & 1 deletion bhavani

This file was deleted.

4 changes: 2 additions & 2 deletions deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: myweb
spec:
replicas: 6
replicas: 3
selector:
matchLabels:
app: myweb
Expand All @@ -16,6 +16,6 @@ spec:
spec:
containers:
- name: myweb
image: kammana/myweb:"$(version)"
image: krishnaobbu/springboot:3
ports:
- containerPort: 8080
1 change: 0 additions & 1 deletion f2

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions login
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user modification
2 changes: 2 additions & 0 deletions logincr
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
first login
create new or second user login ###########bala##############
1 change: 0 additions & 1 deletion madan

This file was deleted.

1 change: 0 additions & 1 deletion mani

This file was deleted.

2 changes: 2 additions & 0 deletions merge-conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
i am new to dev2
i am from hyd
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<properties>
<docker.image.prefix>kammana</docker.image.prefix>
<sonar.host.url>http://13.231.239.118:9000/</sonar.host.url>
<sonar.host.url>http://http://13.201.30.151:9000/</sonar.host.url>

</properties>
<dependencies>
Expand All @@ -28,12 +28,12 @@
<distributionManagement>
<snapshotRepository>
<id>nexusRepo</id>
<url>http://35.78.181.229:8081/repository/sample-snapshots/</url>
<url>http://44.204.229.166:8081/repository/sample-snapshot/</url>
</snapshotRepository>

<repository>
<id>nexusRepo</id>
<url>http://35.78.181.229:8081/repository/sample-releases/</url>
<url>http://44.204.229.166:8081/repository/sample-release/</url>
</repository>
</distributionManagement>

Expand Down
9 changes: 0 additions & 9 deletions sateesh

This file was deleted.

Empty file removed sbigoldloan
Empty file.
Empty file removed sbihomeloan
Empty file.
Empty file removed sbiib
Empty file.
Empty file removed sbipl1.0
Empty file.
11 changes: 11 additions & 0 deletions service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: springboot
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
selector:
app: myweb
2 changes: 1 addition & 1 deletion springBoot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
app: springboot
spec:
containers:
- image: deepikac2021/spring-boot-mongo
- image: krishnaobbu/spring-boot-mongo
name: springboot
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<html>
<body>
<h1 style="color: green; font-size: 40px;" align="center"> GANA TECH APP VERSION-3000</h1>
<h1 style="color: blue; font-size: 40px;" align="center"> welcome to docker version 1 </h1>
</body>
</html>
2 changes: 0 additions & 2 deletions venu

This file was deleted.