jenkins+git+maven搭建自動化部署項目環境

來源:互聯網
上載者:User

標籤:搭建   記錄   訪問   demo   etc   download   local   啟動   dem   

簡介

   折騰了兩個晚上,趁著今晚比較有空,把jenkins+git+maven搭建自動化部署項目環境搭建的過程記錄一下,這裡我把github作為git的遠程倉庫(https://github.com/jacky-        lulu/cxf_demo-Maven-Webapp)

    系統:centos6.5

    maven: Apache Maven 3.3.9

    git:git version 2.0.0

1、首先安裝git,看以前另外一篇部落格

   http://www.cnblogs.com/520playboy/p/6235070.html

2、安裝maven

    安裝maven的過程非常簡單,就是從官網(http://maven.apache.org/download.cgi)下載maven之後,直接解壓到/usr/local/目錄下,然後配置下/etc/profile

檔案中配置maven環境變數,再source /etc/profile檔案,就可以啦

3、安裝jenkins

    在官網(https://jenkins.io/index.html)直接下載一個war包,我下載的是LTS Release版本,會比較穩定點,然後直接放到tomcat的webapps目錄下,啟動tomcat就可以了

4、在瀏覽器中訪問http://192.168.0.4:8080/jenkins/

 

jenkins+git+maven搭建自動化部署項目環境

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.