Change Jenkins PORT number
Some times 8080 is
busy with some other services. In that case we can change port to some other
number by using following steps
1.Press Ctrl+C on Jenkins command line to Stop the Service
2.It
it is Jenkins.war Installation, Start Jenkins from cmd line using :
java -jar
jenkins.war --httpPort=8081
3.If is tomcat Installation, open xml &
change "--httpPort=8080" with new port number
Configuring Java
1.Navigate to Manage Jenkins → Global Tool Configuration→JDK Installations →Add JDK
2.Set JDK Name. For Ex: JDK_1.8.0_111 (uncheck Install
automatically)
3.Set JAVA_HOME directory path. For Ex: C:\Program
Files\Java\jdk 1.8.0_111
4.Apply & Save.
Configuring Maven
1.Navigate to Manage Jenkinks→ Global Tool Configuration→ Maven Installations→ Add Maven
2.Set Maven Name. For Ex: apache-maven-3.3.9
(uncheck Install automatically)
4.Apply & Save



0 comments:
Post a Comment