Loading .gitlab-ci.yml +19 −19 Original line number Diff line number Diff line Loading @@ -123,27 +123,27 @@ secondpipe: # - ls -la test_ci3 job:on-schedule: rules: - if: $CI_PIPELINE_SOURCE == "schedule" stage: build script: - echo "Hello, Scheduled job" #job:on-schedule: # rules: # - if: $CI_PIPELINE_SOURCE == "schedule" # stage: build # script: # - echo "Hello, Scheduled job" build-job: rules: - if: $CI_PIPELINE_SOURCE == "push" stage: build script: - echo "Hello, $GITLAB_USER_LOGIN!" #build-job: # rules: # - if: $CI_PIPELINE_SOURCE == "push" # stage: build # script: # - echo "Hello, $GITLAB_USER_LOGIN!" test-job: rules: - if: $CI_PIPELINE_SOURCE == "push" when: manual stage: test script: - echo "test 1" #test-job: # rules: # - if: $CI_PIPELINE_SOURCE == "push" # when: manual # stage: test # script: # - echo "test 1" #test-job1: # stage: test Loading Loading
.gitlab-ci.yml +19 −19 Original line number Diff line number Diff line Loading @@ -123,27 +123,27 @@ secondpipe: # - ls -la test_ci3 job:on-schedule: rules: - if: $CI_PIPELINE_SOURCE == "schedule" stage: build script: - echo "Hello, Scheduled job" #job:on-schedule: # rules: # - if: $CI_PIPELINE_SOURCE == "schedule" # stage: build # script: # - echo "Hello, Scheduled job" build-job: rules: - if: $CI_PIPELINE_SOURCE == "push" stage: build script: - echo "Hello, $GITLAB_USER_LOGIN!" #build-job: # rules: # - if: $CI_PIPELINE_SOURCE == "push" # stage: build # script: # - echo "Hello, $GITLAB_USER_LOGIN!" test-job: rules: - if: $CI_PIPELINE_SOURCE == "push" when: manual stage: test script: - echo "test 1" #test-job: # rules: # - if: $CI_PIPELINE_SOURCE == "push" # when: manual # stage: test # script: # - echo "test 1" #test-job1: # stage: test Loading