WebApp的自動化的測試工具: Jenkins

來源:互聯網
上載者:User

標籤:date   for   down   定時   modules   opera   min   bat   引用   

 

一、下載並安裝(msi)
https://jenkins.io/download/thank-you-downloading-windows-installer-stable/

在安裝過程這, 需要從password檔案(通常在C:\Jenkins\secrets\initialAdminPassword)中copy-paste初始安裝用的password,類似如下

d0b4e7e1adc144d5b7fda3d53b8ecf2b,

 

這是admin的password

二、安裝下面的外掛程式

除了預設的外掛程式之外,再增加下面的外掛程式:

Build Blocker Plugin: 用於引用其它task

 

三、new item 建立一個任務

從0開始寫, 或者 copy已有的task

* 定時執行

* 多個任務共用1個子任務(例如:從git擷取代碼)

* 用參數化,支援多branch, 多brand,多site的build

 

四、注意

* 在window上用 execute windows  batch command;

  在linux上用 execute shell

* git 擷取代碼,需要支援submodule, 並且給予更多的timeout時間

   ** Additional Behaviours

 

     *** Recursively update submodules

     *** Timeout (in minutes) for submodules operations

 

WebApp的自動化的測試工具: Jenkins

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.