Loading .gitlab-ci.yml +12 −1 Original line number Diff line number Diff line stages: - build # section name of the CI pipeline - test # other section executed AFTER 'build' - deploy # other section AFTER 'build' variables: GLOBAL_VAR_FOR_CI: unexpected text Loading Loading @@ -32,3 +33,13 @@ test_job_2: - sleep 5 - echo "Testing complete." needs: [test_job_1] # mark this step to be executed AFTER "test_job_1" deploy_job: stage: deploy # section where to run the job tags: - git-run-ia2 # who is running the job script: - echo "Installing the program..." - sleep 5 - echo "Program deployed" when: always No newline at end of file Loading
.gitlab-ci.yml +12 −1 Original line number Diff line number Diff line stages: - build # section name of the CI pipeline - test # other section executed AFTER 'build' - deploy # other section AFTER 'build' variables: GLOBAL_VAR_FOR_CI: unexpected text Loading Loading @@ -32,3 +33,13 @@ test_job_2: - sleep 5 - echo "Testing complete." needs: [test_job_1] # mark this step to be executed AFTER "test_job_1" deploy_job: stage: deploy # section where to run the job tags: - git-run-ia2 # who is running the job script: - echo "Installing the program..." - sleep 5 - echo "Program deployed" when: always No newline at end of file