# 【GitLab】push 觸發pipline

 Gitlab 專案的 settings -&gt;integrations

 設定 【url】【tocken】(見下方jenkins 設定)

[![image-1684293361508.png](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/scaled-1680-/DQhO3f4d6cNpjRhb-image-1684293361508.png)](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/DQhO3f4d6cNpjRhb-image-1684293361508.png)

點選下方【 Test】【Push events】測試

[![image-1684294348365.png](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/scaled-1680-/xpqKw4LkFse6ie6Z-image-1684294348365.png)](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/xpqKw4LkFse6ie6Z-image-1684294348365.png)

 成功上方會出現藍色200字樣

[![image-1684293624304.png](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/scaled-1680-/ixilIFKAL84M1mmF-image-1684293624304.png)](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/ixilIFKAL84M1mmF-image-1684293624304.png)

### Jenkins (Url, token)

[![image-1684293986220.png](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/scaled-1680-/tKykSiaHfRuZ5pKz-image-1684293986220.png)](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/tKykSiaHfRuZ5pKz-image-1684293986220.png)

[![image-1684294044948.png](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/scaled-1680-/gLu5gmXTCFV7Z0JY-image-1684294044948.png)](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/gLu5gmXTCFV7Z0JY-image-1684294044948.png)

[![image-1684294112288.png](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/scaled-1680-/s2GfdPUTSYH7d89u-image-1684294112288.png)](https://bookstack.treemanou.com/uploads/images/gallery/2023-05/s2GfdPUTSYH7d89u-image-1684294112288.png)