Gitlab Pipeline Only Merge Request

Asked

Viewed 42 times

2

I am creating a script for CI on Gitlab, but when using the only merge_requests it is not executed when creating a new merge request.

The version I’m using is the Community Edition.

When I create a new branch, a new tag or make a commit, the Gitlab shoots the pipeline, It’s just not firing when I create a new one merge request

Could be something related to me using the version CE?

stages:
  - build
  - test
  - deploy

build:
  stage: build
  script: 'echo build'
  only:
  - branches
  - tags
  - merge_requests

test:
  stage: test
  script: 'echo test'
  only:
  - merge_requests

deploy:
  stage: deploy
  script: 'echo deploy'

1 answer

0

There is a limitation based on the version of the tools, you came to check this?

It follows the prerequisites: In Gitlab 11.10 and later, you must be using Gitlab Runner 11.9.

That information is in this link.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.