Jenkins Setup: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category: IT Knowledge]]
Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides 985 plugins to support building and testing virtually any project.
Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides 985 plugins to support building and testing virtually any project.


Today, I want to share a small script can install and configure Jenkins automatically.  
Today, I want to share a small script can install and configure Jenkins automatically.  
Do it very simple by copy below script and save as name jenkins_installer.sh.  
Do it very simple by copy below script and save as name jenkins_installer.sh.  
Then upload to /tmp and issues 3 command :
 
Then upload to /tmp and issue command :
chmod +x jenkins_installer.sh && ./jenkins_installer.sh
chmod +x jenkins_installer.sh && ./jenkins_installer.sh


After installed, we can go to Jenkins panel by domain we entered before os use public ip of jenkins server.
----
----
<pre>
<pre>
Line 27: Line 31:
if [ "$jenkinsdomain" = "" ]; then
if [ "$jenkinsdomain" = "" ]; then
clear     
clear     
     echo -e "******************** YOUR DOMAIN CAN NOT BE BLANK ! ********************"  
     echo -e "******************** YOUR DOMAIN CAN NOT BE BLANKED ! ********************"  
./jenkins_installer.sh
./jenkins_installer.sh
exit
exit