Using the gitlab-ci.yml template defined on 
: http://doc.gitlab.com/ce/ci/yaml/README.html

stages:
- build
- cleanup_build
- test
- deploy
- cleanup

build:
  stage: build
  script:
  - make build

cleanup_build:
  stage: cleanup_build
  script:
  - cleanup build when failed
  when: on_failure

test:
  stage: test
  script:
  - make test

deploy:
  stage: deploy
  script:
  - make deploy

cleanup:
  stage: cleanup
  script:
  - cleanup after builds
  when: always

Gitlab responds with "Please define at least one job"

It seems that stages are not working.

I can get 1 single job to execute, but when i add 2 jobs, and specify stage 
build and stage test, only the first job executes.


Using Gitlab 8.2.3

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/9cbbdfc6-136c-4f83-b906-774c8d63cc4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to