Commit 8c842e1b authored by Nicolo Parmiggiani's avatar Nicolo Parmiggiani
Browse files

Update .gitlab-ci.yml

parent 462acf31
Loading
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -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