# 【Jenkins】執行git專案上的pipline

參考：[https://ithelp.ithome.com.tw/m/articles/10287403](https://ithelp.ithome.com.tw/m/articles/10287403)

- Definition: `Pipeline script from SCM`
- SCM: `Git`
- Repository URL: `https://github.com/ben4932042/jenkins-ithome.git`
- Branch Specifier (blank for 'any'): `main`
- **<span style="color: #ff0000;">Script Path</span>**: `jobs/ithome-day3-sample-job/Jenkinsfile` =&gt;<span style="color: #ff0000;"> pipline 檔案</span>

[![image-1742440086893.png](https://bookstack.treemanou.com/uploads/images/gallery/2025-03/scaled-1680-/rdW2ZbC7Ob5XVFUg-image-1742440086893.png)](https://bookstack.treemanou.com/uploads/images/gallery/2025-03/rdW2ZbC7Ob5XVFUg-image-1742440086893.png)

[![image-1742440093950.png](https://bookstack.treemanou.com/uploads/images/gallery/2025-03/scaled-1680-/bKmjP7SZeqiwEjth-image-1742440093950.png)](https://bookstack.treemanou.com/uploads/images/gallery/2025-03/bKmjP7SZeqiwEjth-image-1742440093950.png)