diff --git a/README.md b/README.md index a1c3406..3888d20 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,20 @@ node { 2. Configure any other pre build, build or post build actions as necessary 3. Click *Save* to preserve your changes in Jenkins. +> If you are using the pipeline model definition syntax in your pipeline job, you can enable the gitlab plugin in the triggers section: + +``` +pipeline { + agent any + + triggers { + gitlab(triggerOnPush: true, triggerOnMergeRequest: true, [...]) + } + + [...] +} +``` + ### Matrix/Multi-configuration jobs **The Jenkins Matrix/Multi-configuration job type is not supported.**