Difference between revisions of "GitLab pipelines: script:"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://docs.gitlab.com/ee/ci/yaml/#script
 
https://docs.gitlab.com/ee/ci/yaml/#script
  
Official example:
+
 
 
  job1:
 
  job1:
   script: "bundle exec rspec"
+
   script: "command1_to_execute"
 
   
 
   
 
  job2:
 
  job2:
 
   script:
 
   script:
 
     - [[uname -a]]
 
     - [[uname -a]]
     - bundle exec rspec
+
     - other_command2_to_execute
 +
 +
job3:
 +
  script:
 +
    - [[export]]
  
  

Latest revision as of 11:44, 8 December 2022

https://docs.gitlab.com/ee/ci/yaml/#script


job1:
  script: "command1_to_execute"

job2:
  script:
    - uname -a
    - other_command2_to_execute

job3:
  script:
    - export


See also[edit]

Advertising: