I was able to get it running using the following yml file:
stages:
- test
- build
- deploy
job_rununittests:
stage: test
script:
- "cd"
tags:
- win
job_builddmp:
stage: build
script:
- "cd"
tags:
- win
job_buildast:
stage: build
script:
- "cd"
tags:
- win
Den torsdag 17 december 2015 kl. 10:32:58 UTC+1 skrev Emil Blennerup:
>
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/2dd806f2-ba6f-4379-a102-b1cd8eaa1c90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.