From d719c8eedbefd10ef63bbe1f5cae6a870ec0a595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Leboulanger?= Date: Mon, 9 Jan 2017 11:21:38 +0100 Subject: [PATCH] add documentation for the README file --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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.**