... | ... | @@ -25,10 +25,10 @@ Creating a Jenkins job for your Gitlab project can be broken into 3 major steps: |
|
|
3. **Credentials**: `jenkins`
|
|
|
4. **Repository browser**: `gitlab`
|
|
|
5. Then enter your Gitlab URL - e.g. `https://vc.digitec.local/kd/kd-ui/`
|
|
|
6. Grab the Gitlab version from [Gitlab Admin Area](https://vc.digitec.local/admin) and enter it in the **Version** text input - e.g. `6.4.3`
|
|
|
6. Grab the Gitlab version from [Gitlab Admin Area](https://vc.digitec.local/admin) and enter it in the **Version** text input - e.g. `6.6.5`
|
|
|
7. Under **Build Triggers**, enable **Poll SCM**
|
|
|
8. Configure the **Build** section. This varies per project. The following is the build for the `kd-ui` project
|
|
|
1. From **Add Build Step** dropdown, chhose **Execute Shell**
|
|
|
1. From **Add Build Step** dropdown, ch0ose **Execute Shell**
|
|
|
2. **Commands**:
|
|
|
* `npm install`
|
|
|
* `grunt jenkins`
|
... | ... | |