> For the complete documentation index, see [llms.txt](https://easonwang.gitbook.io/web_advance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easonwang.gitbook.io/web_advance/ci--with-gitlabjenkins.md).

# CI  with Gitlab\&Jenkins

安裝Gitlab

<https://about.gitlab.com/downloads/#ubuntu1604>

裝好預設是80port，可以如下更改port

1. `sudo -e /etc/gitlab/gitlab.rb`
2. Change

   external\_url

   from

   `yourdomain.com`

   to

   `yourdomain.com:9999`
3. `sudo gitlab-ctl reconfigure`
