Commit 5a673165 authored by Nicolo Parmiggiani's avatar Nicolo Parmiggiani
Browse files

Update .gitlab-ci.yml

parent cbb95ff1
Loading
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -110,12 +110,23 @@ sonarqube-check:

 # - ls -la test_ci3

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!"

test-job:
  rules:
    - if: $CI_PIPELINE_SOURCE = "push"
  stage: test
  script:
    - echo "test 1"