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

Chnagepom #422

Open
wants to merge 293 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
4bf3927
file commit
lakshmiprasad2019 Dec 1, 2019
5153151
this file modified
lakshmiprasad2019 Dec 1, 2019
5819acf
Merge branch 'lak1' into lak
lakshmiprasad2019 Dec 1, 2019
27279ad
stash
lakshmiprasad2019 Dec 1, 2019
f2cefbd
Update pom.xml
lakshmiprasad2019 Aug 15, 2021
578b209
Update pom.xml
lakshmiprasad2019 Aug 15, 2021
2dcf7cb
Update pom.xml
lakshmiprasad2019 Aug 15, 2021
75dd5d9
Update pom.xml
lakshmiprasad2019 Aug 15, 2021
660ab3e
Update index.jsp
lakshmiprasad2019 Aug 15, 2021
463902a
Update pom.xml
lakshmiprasad2019 Aug 15, 2021
83aeee6
Update pom.xml
lakshmiprasad2019 Aug 15, 2021
6817012
Update index.jsp
lakshmiprasad2019 Aug 15, 2021
329ee43
Update index.jsp
lakshmiprasad2019 Aug 15, 2021
c6a4447
Update pom.xml
lakshmiprasad2019 Aug 16, 2021
2452f64
Update index.jsp
lakshmiprasad2019 Aug 16, 2021
24b8563
Create Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
c7e516b
Update pom.xml
lakshmiprasad2019 Dec 18, 2021
ed445b8
Update Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
c99546b
Update Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
57c0eda
Update Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
7c2de88
Update Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
7dbcd3d
Update Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
9f97360
Update Jenkins-sonar-nexus
lakshmiprasad2019 Dec 18, 2021
af7be0e
Update index.jsp
lakshmiprasad2019 Dec 18, 2021
881ce3c
Create Jenkins-terraform
lakshmiprasad2019 Dec 19, 2021
31a2ccc
Create main.tf
lakshmiprasad2019 Dec 19, 2021
576719d
Update main.tf
lakshmiprasad2019 Dec 21, 2021
789fc1d
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
32559ee
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
214787f
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
a3e198d
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
c855e18
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
b9b69c2
Update main.tf
lakshmiprasad2019 Dec 21, 2021
49f8caf
Update main.tf
lakshmiprasad2019 Dec 21, 2021
d2ad447
Update main.tf
lakshmiprasad2019 Dec 21, 2021
9f70c87
Create variables.tf
lakshmiprasad2019 Dec 21, 2021
7621b15
Update main.tf
lakshmiprasad2019 Dec 21, 2021
4286e28
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
45b987c
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
f3070c5
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
1b38c84
Rename variables.tf to var.tf
lakshmiprasad2019 Dec 21, 2021
9e295ea
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
84313c4
Rename var.tf to variables.tf
lakshmiprasad2019 Dec 21, 2021
fdcbfca
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
cb3cc02
Update variables.tf
lakshmiprasad2019 Dec 21, 2021
25db565
Update variables.tf
lakshmiprasad2019 Dec 21, 2021
090e2ba
Update main.tf
lakshmiprasad2019 Dec 21, 2021
080354d
Update Jenkins-terraform
lakshmiprasad2019 Dec 21, 2021
599de81
Rename variables.tf to __variables
lakshmiprasad2019 Dec 21, 2021
2cafa11
Update main.tf
lakshmiprasad2019 Dec 21, 2021
2dfa43a
Update main.tf
lakshmiprasad2019 Dec 22, 2021
4438d94
Create vars.tf
lakshmiprasad2019 Dec 23, 2021
8050810
Update main.tf
lakshmiprasad2019 Dec 23, 2021
9ffc0bc
Update main.tf
lakshmiprasad2019 Dec 23, 2021
f07877c
Update Jenkins-terraform
lakshmiprasad2019 Dec 23, 2021
54035fc
Update main.tf
lakshmiprasad2019 Dec 24, 2021
aee9652
Update vars.tf
lakshmiprasad2019 Dec 24, 2021
1aedeea
Update Jenkins-terraform
lakshmiprasad2019 Dec 24, 2021
5a78fed
Update vars.tf
lakshmiprasad2019 Dec 24, 2021
792cf30
Update main.tf
lakshmiprasad2019 Dec 24, 2021
7d094d7
Update main.tf
lakshmiprasad2019 Dec 24, 2021
6bb1473
Update Jenkins-terraform
lakshmiprasad2019 Dec 24, 2021
0fbcc24
Update vars.tf
lakshmiprasad2019 Dec 24, 2021
1e0bd3e
Rename vars.tf to __vars
lakshmiprasad2019 Dec 24, 2021
694bf68
Update main.tf
lakshmiprasad2019 Dec 24, 2021
3511130
Update main.tf
lakshmiprasad2019 Dec 24, 2021
d0991cf
Update main.tf
lakshmiprasad2019 Dec 24, 2021
c5410a1
Update and rename __vars to vars.tf
lakshmiprasad2019 Dec 24, 2021
59b1d5d
Update Jenkins-terraform
lakshmiprasad2019 Dec 24, 2021
1d9f712
Update vars.tf
lakshmiprasad2019 Dec 24, 2021
d1d29d4
Update main.tf
lakshmiprasad2019 Dec 24, 2021
66bb3c6
Update index.jsp
lakshmiprasad2019 Jun 3, 2022
f60e792
Update index.jsp
lakshmiprasad2019 Jun 3, 2022
4df8a61
Update index.jsp
lakshmiprasad2019 Jun 3, 2022
0ff94cc
Create Jenkins-tomcat_byme
lakshmiprasad2019 Jun 3, 2022
07ffe7f
Update index.jsp
lakshmiprasad2019 Jun 4, 2022
6f50000
Update index.jsp
lakshmiprasad2019 Jun 4, 2022
1f6376d
Update pom.xml
lakshmiprasad2019 Sep 9, 2022
3a126bd
Update pom.xml
lakshmiprasad2019 Sep 9, 2022
3aca5ad
Update index.jsp
lakshmiprasad2019 Sep 9, 2022
f445df4
Update index.jsp
lakshmiprasad2019 Sep 10, 2022
26c608a
Update index.jsp
lakshmiprasad2019 Sep 10, 2022
7d8fa49
Update index.jsp
lakshmiprasad2019 Sep 10, 2022
b1bbee1
Update index.jsp
lakshmiprasad2019 Sep 10, 2022
1cdf3ec
Update index.jsp
lakshmiprasad2019 Sep 10, 2022
9a53e04
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 10, 2022
faf934b
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 10, 2022
498a1f8
Update main.tf
lakshmiprasad2019 Sep 12, 2022
c48d8dd
Update main.tf
lakshmiprasad2019 Sep 12, 2022
f04f3bf
Update vars.tf
lakshmiprasad2019 Sep 12, 2022
b248a59
Update pom.xml
lakshmiprasad2019 Sep 18, 2022
0e5d7d5
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 18, 2022
54c86b0
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 18, 2022
f2247de
Update pom.xml
lakshmiprasad2019 Sep 19, 2022
95c2cf8
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 19, 2022
a931504
Update pom.xml
lakshmiprasad2019 Sep 19, 2022
1f9c390
Update pom.xml
lakshmiprasad2019 Sep 19, 2022
207add2
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 19, 2022
a563d54
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 19, 2022
81e66c8
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 19, 2022
7bc1ef1
Update pom.xml
lakshmiprasad2019 Sep 20, 2022
b6584a6
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 20, 2022
0908e0a
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 20, 2022
cf75078
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 20, 2022
673dcd2
Update pom.xml
lakshmiprasad2019 Sep 20, 2022
69e91e3
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 20, 2022
8241fd7
Update pom.xml
lakshmiprasad2019 Sep 20, 2022
31d69a7
Update Jenkins-sonar-nexus
lakshmiprasad2019 Sep 20, 2022
e17a551
Update Jenkins-terraform
lakshmiprasad2019 Jan 18, 2023
878dfe0
Update Jenkins-terraform
lakshmiprasad2019 Jan 18, 2023
93ce0e2
Update main.tf
lakshmiprasad2019 Jan 18, 2023
2693452
Create alankey.pem
lakshmiprasad2019 Jan 18, 2023
c7daeb8
Update main.tf
lakshmiprasad2019 Jan 18, 2023
856ab10
Update main.tf
lakshmiprasad2019 Jan 18, 2023
4ab99d8
Update main.tf
lakshmiprasad2019 Jan 18, 2023
f5477b6
Update Jenkins-terraform
lakshmiprasad2019 Feb 6, 2023
b38697f
Update main.tf
lakshmiprasad2019 Feb 7, 2023
2e407a4
Update Jenkins-terraform
lakshmiprasad2019 Feb 10, 2023
31b8b28
Update main.tf
lakshmiprasad2019 Feb 10, 2023
00ddc58
Update Jenkins-terraform
lakshmiprasad2019 Feb 10, 2023
f48ed48
Update pom.xml
lakshmiprasad2019 Feb 20, 2023
bf4b161
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
39ba29a
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
f7734b4
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
b22fcab
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
81391ba
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
a6c5ac5
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
513feba
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
2f4088f
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
acad7f6
Update pom.xml
lakshmiprasad2019 Feb 21, 2023
186b23d
Update index.jsp
lakshmiprasad2019 Feb 22, 2023
ce5a134
Update pom.xml
lakshmiprasad2019 Feb 22, 2023
e9a5ca3
Update pom.xml
lakshmiprasad2019 Feb 22, 2023
8a105be
Update index.jsp
lakshmiprasad2019 Feb 22, 2023
5ad6340
Update pom.xml
lakshmiprasad2019 Feb 22, 2023
b21a71f
Update pom.xml
lakshmiprasad2019 Feb 22, 2023
fa45571
Update pom.xml
lakshmiprasad2019 Feb 28, 2023
5cf8c11
Update pom.xml
lakshmiprasad2019 Feb 28, 2023
727464e
Update index.jsp
lakshmiprasad2019 Jul 13, 2023
c7a8a37
Update index.jsp
lakshmiprasad2019 Jul 14, 2023
8ef2c47
Update pom.xml
lakshmiprasad2019 Jul 18, 2023
c263824
Update pom.xml
lakshmiprasad2019 Jul 18, 2023
ee47e84
Update pom.xml
lakshmiprasad2019 Jul 18, 2023
d0e3d85
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
f27c8b3
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
93f06b3
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
83eeba7
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
4f7b8aa
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
87e4be4
Update Jenkins-sonar-nexus
lakshmiprasad2019 Jul 21, 2023
afb808b
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
0f582fd
Create Jenkinsfile-sonar-nexuseample
lakshmiprasad2019 Jul 21, 2023
38531ac
Update pom.xml
lakshmiprasad2019 Jul 21, 2023
055ab5f
Update Jenkinsfile-sonar-nexuseample
lakshmiprasad2019 Jul 21, 2023
513fe4f
Update Jenkinsfile-sonar-nexuseample
lakshmiprasad2019 Jul 21, 2023
a0fbb50
Update Jenkinsfile-sonar-nexuseample
lakshmiprasad2019 Jul 21, 2023
1ff174e
Create Ethans672
lakshmiprasad2019 Jul 29, 2023
77a20dd
Ethans672 file has modified
kalikivayim Jul 29, 2023
c304288
modified Ethans672 from US67890 branch
kalikivayim Jul 29, 2023
266341d
Update Ethans672
lakshmiprasad2019 Aug 6, 2023
f8c3c13
Update Jenkins-terraform
lakshmiprasad2019 Aug 6, 2023
3218095
Update pom.xml
lakshmiprasad2019 Sep 3, 2023
7bb857f
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 8, 2023
4c3d346
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 8, 2023
e7dad61
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 8, 2023
c172643
Update pom.xml
lakshmiprasad2019 Sep 8, 2023
0693120
Update pom.xml
lakshmiprasad2019 Sep 9, 2023
da742c7
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 9, 2023
72568bf
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 9, 2023
2bc52e0
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 9, 2023
f2b11d7
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 9, 2023
75bdf5d
Update pom.xml
lakshmiprasad2019 Sep 9, 2023
0ff3e65
Update pom.xml
lakshmiprasad2019 Sep 9, 2023
f0e1609
Update pom.xml
lakshmiprasad2019 Sep 9, 2023
fb364ad
Update pom.xml
lakshmiprasad2019 Sep 9, 2023
73d7d0f
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 10, 2023
8241129
Update pom.xml
lakshmiprasad2019 Sep 10, 2023
483f9e5
Update Jenkins-tomcat_byme
lakshmiprasad2019 Sep 10, 2023
c986d54
Update index.jsp
lakshmiprasad2019 Sep 10, 2023
e80f8c9
Update main.tf
lakshmiprasad2019 Sep 10, 2023
91154d1
jenkins file has changed
kalikivayim Jan 7, 2024
16e0f5e
code has changed
kalikivayim Jan 7, 2024
54fdf8b
Update pom.xml
lakshmiprasad2019 Jan 18, 2024
a2f7d5d
Update pom.xml
lakshmiprasad2019 Jan 18, 2024
3df1d71
Update pom.xml
lakshmiprasad2019 Jan 18, 2024
51f13d6
Update pom.xml
lakshmiprasad2019 Jan 18, 2024
0a8fd47
Update pom.xml
lakshmiprasad2019 Jan 20, 2024
ca98893
Update pom.xml
lakshmiprasad2019 Jan 20, 2024
c553963
Update pom.xml
lakshmiprasad2019 Feb 18, 2024
43c5ab7
Update pom.xml
lakshmiprasad2019 Feb 18, 2024
b31ff09
Update deployments.yml
lakshmiprasad2019 Feb 18, 2024
987f48b
Update setenv.sh
lakshmiprasad2019 Mar 30, 2024
2104b86
Update eeksha
lakshmiprasad2019 Mar 30, 2024
0ac6190
Update eeksha
lakshmiprasad2019 Mar 30, 2024
843900e
Update pom.xml
lakshmiprasad2019 Mar 31, 2024
3075892
Update pom.xml
lakshmiprasad2019 Apr 6, 2024
2698058
Update pom.xml
lakshmiprasad2019 Apr 6, 2024
6584a5e
Update pom.xml
lakshmiprasad2019 Apr 20, 2024
5740029
Update deployments.yml
lakshmiprasad2019 Apr 20, 2024
690d2ea
Create 01062024
lakshmiprasad2019 Jun 2, 2024
40643ee
Update 01062024
lakshmiprasad2019 Jun 2, 2024
b196361
Update main.tf
lakshmiprasad2019 Jun 9, 2024
1cafa48
Update vars.tf
lakshmiprasad2019 Jun 9, 2024
bbf273e
Update main.tf
lakshmiprasad2019 Jun 9, 2024
bc281d7
Update main.tf
lakshmiprasad2019 Jun 9, 2024
82f7593
Update main.tf
lakshmiprasad2019 Jun 9, 2024
738cf0b
Update main.tf
lakshmiprasad2019 Jun 9, 2024
a9ab611
changed my instance type
kalikivayim Jun 9, 2024
a211c14
Merge pull request #6 from lakshmiprasad2019/mytfchanges
lakshmiprasad2019 Jun 9, 2024
378a875
Update main.tf
lakshmiprasad2019 Jun 22, 2024
ed90991
Update pom.xml
lakshmiprasad2019 Jun 22, 2024
0048f88
Update pom.xml
lakshmiprasad2019 Jun 29, 2024
0c5d9ef
Update pom.xml
lakshmiprasad2019 Jun 29, 2024
464ea1e
Update pom.xml
lakshmiprasad2019 Jun 29, 2024
452c478
Update pom.xml
lakshmiprasad2019 Jun 29, 2024
d68d04f
Update pom.xml
lakshmiprasad2019 Jun 29, 2024
e6a5f18
Update pom.xml
lakshmiprasad2019 Aug 3, 2024
1ae35be
Update pom.xml
lakshmiprasad2019 Aug 3, 2024
4fa12e7
Update pom.xml
lakshmiprasad2019 Aug 3, 2024
793e5ed
Update pom.xml
lakshmiprasad2019 Aug 4, 2024
ac6fcb5
Update pom.xml
lakshmiprasad2019 Aug 4, 2024
c61548e
Update pom.xml
lakshmiprasad2019 Aug 4, 2024
f086e83
Update pom.xml
lakshmiprasad2019 Aug 4, 2024
373d373
Update pom.xml
lakshmiprasad2019 Aug 4, 2024
5af0caf
Update pom.xml
lakshmiprasad2019 Aug 4, 2024
dac4b04
Update pom.xml
lakshmiprasad2019 Sep 8, 2024
12c1512
Update pom.xml
lakshmiprasad2019 Sep 8, 2024
2259df5
Update pom.xml
lakshmiprasad2019 Sep 8, 2024
6cd1e0e
Update pom.xml
lakshmiprasad2019 Sep 8, 2024
25d5eb5
Update pom.xml
lakshmiprasad2019 Sep 8, 2024
54895cf
Update deployments.yml
lakshmiprasad2019 Sep 8, 2024
b0a7cd1
Update 55
lakshmiprasad2019 Sep 21, 2024
df91fcb
Update 55
lakshmiprasad2019 Sep 21, 2024
01b409d
Update pom.xml
lakshmiprasad2019 Sep 29, 2024
5e29b2b
Update pom.xml
lakshmiprasad2019 Sep 29, 2024
4753c11
Update main.tf
lakshmiprasad2019 Oct 5, 2024
b9a66e1
Create Jenkinsfile_myterraformpipeline
lakshmiprasad2019 Oct 5, 2024
6e561dc
Update pom.xml
lakshmiprasad2019 Oct 5, 2024
a79a3ce
Update pom.xml
lakshmiprasad2019 Oct 5, 2024
1fba6b1
Update pom.xml
lakshmiprasad2019 Oct 5, 2024
4b61a12
Update pom.xml
lakshmiprasad2019 Oct 5, 2024
d48e3ff
Update pom.xml
lakshmiprasad2019 Oct 5, 2024
87f8ef8
Update pom.xml
lakshmiprasad2019 Oct 6, 2024
3c6fba7
Update pom.xml
lakshmiprasad2019 Oct 6, 2024
c0d4e79
Update pom.xml
lakshmiprasad2019 Oct 6, 2024
d156451
Update pom.xml
lakshmiprasad2019 Oct 6, 2024
79fb15e
Update index.jsp
lakshmiprasad2019 Oct 6, 2024
4ba8964
Update deployments.yml
lakshmiprasad2019 Oct 15, 2024
d59821a
Update index.jsp
lakshmiprasad2019 Oct 15, 2024
84ab71a
Update index.jsp
lakshmiprasad2019 Oct 26, 2024
2d7af8d
updated pom.xml file with sonar and nexus urls
kalikivayim Oct 26, 2024
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
1 change: 1 addition & 0 deletions 01062024
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hi this file has created to demo pull to local
2 changes: 1 addition & 1 deletion 55
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dummy data
Modifing this line to test webhook
Empty file added 90
Empty file.
4 changes: 4 additions & 0 deletions Ethans672
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 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: 'javahome2', url: 'https://github.com/lakshmiprasad2019/myweb.git'
}
}
stage("Maven Build"){
Expand All @@ -20,11 +20,11 @@ pipeline{
steps{
sshagent(['tomcat-new']) {
sh """
scp -o StrictHostKeyChecking=no target/myweb.war [email protected].11.44:/home/ec2-user/apache-tomcat-9.0.27/webapps/
scp -o StrictHostKeyChecking=no target/myweb.war [email protected].41.7:/home/ec2-user/apache-tomcat-9.0.29/webapps/

ssh [email protected].11.44 /home/ec2-user/apache-tomcat-9.0.27/bin/shutdown.sh
ssh [email protected].41.7 /home/ec2-user/apache-tomcat-9.0.29/bin/shutdown.sh

ssh [email protected].11.44 /home/ec2-user/apache-tomcat-9.0.27/bin/startup.sh
ssh [email protected].41.7 /home/ec2-user/apache-tomcat-9.0.29/bin/startup.sh

"""
}
Expand Down
51 changes: 51 additions & 0 deletions Jenkins-sonar-nexus
Original file line number Diff line number Diff line change
@@ -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 [email protected]:/tomcatsoft/apache-tomcat-9.0.56/webapps
#
# ssh [email protected] /tomcatsoft/apache-tomcat-9.0.56/bin/shutdown.sh

# ssh [email protected] /tomcatsoft/apache-tomcat-9.0.56/bin/startup.sh

# """
#}

#}
}
}
}
48 changes: 48 additions & 0 deletions Jenkins-terraform
Original file line number Diff line number Diff line change
@@ -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}
"""
}
}
}
}
57 changes: 57 additions & 0 deletions Jenkins-tomcat_byme
Original file line number Diff line number Diff line change
@@ -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 [email protected]:/home/ec2-user/apache-tomcat-9.0.80/webapps/

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

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

"""
}

}
}
}
}
23 changes: 23 additions & 0 deletions Jenkinsfile-sonar-nexuseample
Original file line number Diff line number Diff line change
@@ -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'
}
}

}
}
27 changes: 27 additions & 0 deletions Jenkinsfile_myterraformpipeline
Original file line number Diff line number Diff line change
@@ -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'
}
}

}
}
3 changes: 3 additions & 0 deletions __variables
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
variable "profile" {
profile = "/var/lib/jenkins/.aws/credentials"
}
3 changes: 3 additions & 0 deletions abc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hello this is file modify
this is modified file
this is 3rd modificaiton
27 changes: 27 additions & 0 deletions alankey.pem
Original file line number Diff line number Diff line change
@@ -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-----
1 change: 1 addition & 0 deletions bannu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
i am new to devops
1 change: 1 addition & 0 deletions bumra
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
he is a bowler
Empty file added cherry
Empty file.
2 changes: 1 addition & 1 deletion deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ spec:
spec:
containers:
- name: myweb
image: kammana/myweb:"$(version)"
image: jaggarapup/myimage_fusion
ports:
- containerPort: 8080
6 changes: 6 additions & 0 deletions eeksha
Original file line number Diff line number Diff line change
@@ -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
Empty file added joy
Empty file.
2 changes: 2 additions & 0 deletions laks
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hello this file
hello again modified
48 changes: 48 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -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**"]
}
}
1 change: 1 addition & 0 deletions patan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
he is a test player
Loading