Skip to content
Snippets Groups Projects
Commit e972418a authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

used dynamic ref in inheritance

parent 3f596933
No related branches found
No related tags found
2 merge requests!7Merging 2024Q2_RC into main, creating 2024Q2 Release,!2Resolve "Update gitlab CI file to use inherited jobs from main"
Pipeline #3870 passed
include: include:
- project: osl/code/org.etsi.osl.main - project: osl/code/org.etsi.osl.main
ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main ref: main
file: file:
- ci-templates/default.yml - ci-templates/default.yml
- ci-templates/build.yml - ci-templates/build.yml
only: rules:
- main - if: '$CI_COMMIT_REF_NAME == "main"'
- develop
- project: osl/code/org.etsi.osl.main
ref: develop
file:
- ci-templates/default.yml
- ci-templates/build.yml
rules:
- if: '$CI_COMMIT_REF_NAME == "develop"'
- project: osl/code/org.etsi.osl.main - project: osl/code/org.etsi.osl.main
ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main ref: develop
file: file:
- ci-templates/default.yml - ci-templates/default.yml
- ci-templates/build_unprotected.yml - ci-templates/build_unprotected.yml
except: rules:
- main - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"'
- develop
maven_build: maven_build:
extends: .maven_build extends: .maven_build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment