Difference between revisions of "GitLab pipelines: script:"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
https://docs.gitlab.com/ee/ci/yaml/#script | https://docs.gitlab.com/ee/ci/yaml/#script | ||
+ | |||
+ | Official example: | ||
+ | job1: | ||
+ | script: "bundle exec rspec" | ||
+ | |||
+ | job2: | ||
+ | script: | ||
+ | - [[uname -a]] | ||
+ | - bundle exec rspec | ||
+ | |||
Revision as of 11:45, 5 July 2022
https://docs.gitlab.com/ee/ci/yaml/#script
Official example:
job1: script: "bundle exec rspec" job2: script: - uname -a - bundle exec rspec
See also
gitlab-ci.yml
,job: | stage: | stages: | artifacts: | include: | script: | when: | only: | needs:
Advertising: