Run pipeline failed

Hi guys,

I’m stuck in a situation when I need to run pipeline manually or via a trigger. After clicking on Run pipeline and create pipeline I’ve received an error " The form contains the following error:* No stages / jobs for this pipeline." The same error code if I execute trigger with CURL.

current YML file is:

check:
stage: test
script:
- ssh -o StrictHostKeyChecking=no mars@host1 ls -lah
except:
changes:
- .gitlab-ci.yml
only:
- master
- web
- triggers
- schedules
- api
when: manual

deploy:
stage: deploy
environment:
name: bamljp6
script:
- ssh -o StrictHostKeyChecking=no mars@host1 date
except:
changes:
- .gitlab-ci.yml
when: manual

I need to setup environment where is check is done by every push/merge, but deploy can be executed only manual or via trigger.

i don’t know why, but after remove

except:
changes:

  • .gitlab-ci.yml

i can run my pipeline from web page

Please check whether the following discussion answers your problem:

http://forum.gitlab.com/t/run-pipeline-manually-with-except-changes/23234

1 Like

yeah. that’s also my findings and i’m think it a bug in gitlab.

thank you