Commit a394da0d authored by Jan Kiene's avatar Jan Kiene
Browse files

try pages job with getting the last ltv run id

parent acb31f6c
Loading
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -603,14 +603,20 @@ be-2-evs-26444:

# job that sets up gitlab pages website
pages:
  variables:
    # TODO: only for testing, remove!
    BASOP_CI_BRANCH_PC_REPO: "basop-ci/add-project-id-as-argument-for-get_id_of_last_job_occurence"
  stage: deploy
  tags:
    - ivas-basop-linux
  rules:
    - if: $UPDATE_PAGES
  script:
    - *print-common-info
    - *update-scripts-repo
    - job_id=$(python3 ci/get_id_of_last_job_occurence.py $CI_COMMIT_REF_NAME ivas-pytest-mld-long-dec $CI_PROJECT_ID)
    - mkdir public
    - echo "Hello BASOP world!" >> public/index.html
    - echo "Hello BASOP world!\n\nLast long selftest run had id $job_id" >> public/index.html
  artifacts:
    paths:
      - public