Skip to content

Commit ef4d45f

Browse files
authored
Update MVNJENKINS_NOTES.txt
1 parent f7ccc74 commit ef4d45f

File tree

1 file changed

+42
-39
lines changed

1 file changed

+42
-39
lines changed

JENKINS/MVNJENKINS_NOTES.txt

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -23,45 +23,7 @@ export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.265.b01-1.amzn2.0.1.x86_6
2323
export PATH=$JAVA_HOME/bin:$PATH
2424
ESC :wq!
2525
# source /etc/profile
26-
27-
MAVEN INSTALLATION
28-
****************************************
29-
# yum install maven
30-
# mvn --version
31-
# vim /etc/profile
32-
i
33-
export MAVEN_HOME=/usr/share/maven
34-
ESC :wq!
35-
36-
# source /etc/profile
37-
# echo $MAVEN_HOME
38-
39-
***************************************
40-
Clone GIt DEVOPS repository
41-
42-
mkdir myproject
43-
cd myproject
44-
mkdir projects
45-
cd projects
46-
git clone https://github.com/Sonal0409/DevOpsClassCodes
47-
ls
48-
cd DevOpsClassCodes
49-
ls
50-
********************************
51-
RUN MAVEN COMMANDS
52-
# mvn compile
53-
# cd /root/myproject/projects/DevOpsClassCodes/target/classes
54-
ls
55-
cd com
56-
ls
57-
cd edurekademo
58-
ls
59-
cd utilities
60-
ls
61-
cd
62-
pwd
63-
64-
****************************************
26+
****************************************************
6527

6628
INSTALL JENKINS
6729

@@ -218,6 +180,47 @@ Build Triggers--> Poll SCM --> * * * * *
218180

219181
Build will be generated each time there is a chnage in the repository only.
220182

183+
**************************************
184+
MAVEN INSTALLATION
185+
****************************************
186+
# yum install maven
187+
# mvn --version
188+
# vim /etc/profile
189+
i
190+
export MAVEN_HOME=/usr/share/maven
191+
ESC :wq!
192+
193+
# source /etc/profile
194+
# echo $MAVEN_HOME
195+
196+
***************************************
197+
Clone GIt DEVOPS repository
198+
199+
mkdir myproject
200+
cd myproject
201+
mkdir projects
202+
cd projects
203+
git clone https://github.com/Sonal0409/DevOpsClassCodes
204+
ls
205+
cd DevOpsClassCodes
206+
ls
207+
********************************
208+
RUN MAVEN COMMANDS
209+
# mvn compile
210+
# cd /root/myproject/projects/DevOpsClassCodes/target/classes
211+
ls
212+
cd com
213+
ls
214+
cd edurekademo
215+
ls
216+
cd utilities
217+
ls
218+
cd
219+
pwd
220+
221+
****************************************
222+
223+
221224
*********************************
222225

223226
Delivery Pipeline in Jenkins

0 commit comments

Comments
 (0)