From 41943b0386ac5d48c56a0b4383314839f7d2f74a Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Mon, 29 Aug 2022 08:26:26 +0200 Subject: [PATCH] Docs on using Robocop in Gitlab CI/CD (#682) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cimon Lucas (LCM) Co-authored-by: Bartłomiej Hirsz --- docs/ci.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/ci.rst b/docs/ci.rst index 85fbe58f6..8c893ba76 100644 --- a/docs/ci.rst +++ b/docs/ci.rst @@ -59,6 +59,21 @@ Issue details: You can configure Robocop using CLI or configuration file (:ref:`configuration file`). +Gitlab pipeline +--------------- + +There is some basic ``.gitlab-ci.yml`` file that triggers Robocop in `Gitlab CI/CD `_: + +.. code:: yaml + + image: python:3 + + robocop: + before_script: + - pip install -U robotframework-robocop + script: + - robocop + Jenkins ---------- There is no direct support for Robocop in Jenkins. But it is possible to use existing plugins for tools like