2016-07-19 11:12:28 +02:00
|
|
|
Automatically building commits pushed to GitLab
|
2017-01-04 13:22:20 +01:00
|
|
|
===============================================
|
2016-07-19 11:12:28 +02:00
|
|
|
|
2017-07-18 15:54:24 +02:00
|
|
|
If you would like your builds to run automatically whenever there is a commit or other similar activity in your
|
|
|
|
GitLab repository, perform the following steps:
|
2016-07-17 16:20:35 +02:00
|
|
|
|
2016-07-19 13:05:02 +02:00
|
|
|
1. Log into PHP Censor.
|
2016-07-17 16:20:35 +02:00
|
|
|
2. Click on your Gitlab project.
|
|
|
|
3. Copy the web hook link specified on the left.
|
|
|
|
4. Log into Gitlab and go to your repo.
|
|
|
|
5. Click the "settings" tab in the top right corner of the page.
|
|
|
|
6. Click on "Web Hooks".
|
2016-07-19 13:05:02 +02:00
|
|
|
7. Paste the link you copied from PHP Censor into the "URL" textbox.
|
2017-07-18 15:54:24 +02:00
|
|
|
8. Select the events which you want to trigger a PHP Censor build. The default and recommended setup is to only enable
|
|
|
|
"push events."
|
2016-07-17 16:20:35 +02:00
|
|
|
9. Click "Add Web Hook," and verify that the test was successful.
|