1. 程式人生 > >jenkins 自動構建gitlab項目

jenkins 自動構建gitlab項目

reat GC color 隨機 -h gitlab cred pro ber

安裝的plugin:

  - kubernetes:1.7.1
- workflow-aggregator:2.5
- workflow-job:2.21
- credentials-binding:1.13
- git:3.6.4
- gitlab-hook:1.4.2
- ansicolor:0.5.2

-----------------------------------------

create a free-style project

技術分享圖片

技術分享圖片

token 是我自己隨機生成的字符串

gitlab中:

settings->Integrations->Add webhook

http://jenkins.gcloud.srcb.com/job/test-git/build?token=9bcd9285c12a2e9aa8bf48732c7a76abc1e45ea2 trigger 勾選 Push events

jenkins 自動構建gitlab項目