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 Original line Diff line number Diff line
@@ -110,12 +110,23 @@ sonarqube-check:


 # - ls -la test_ci3
 # - ls -la test_ci3


job:on-schedule:
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
  stage: build
  script:
    - echo "Hello, Scheduled job"

build-job:
build-job:
  rules:
    - if: $CI_PIPELINE_SOURCE = "push"
  stage: build
  stage: build
  script:
  script:
    - echo "Hello, $GITLAB_USER_LOGIN!"
    - echo "Hello, $GITLAB_USER_LOGIN!"


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