I have pipeline:
stages: # List of stages for jobs, and their order of execution
- test
- deploy
deploy-test:
stage: test
image: python
only:
- /^B[Ii]-.*$/
script:
- git --version
- pip install argparse adal msal requests-toolbelt requests
- . PublishPBIReports.sh
deploy-prod: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
image: python
only:
- master
script:
- git --version
- pip install argparse adal msal requests-toolbelt requests
- pbifiles=(git diff --name-only HEAD HEAD~1 -- '***.pbix')
- echo $pbifiles
- echo $CI_COMMIT_BRANCH
I can’t understand that happen, because i created new branch and i see that gitlab-ci.yml with old configuration. Another user created new branch and he received last version gitlab-ci.yml. I thought that when i create new branch i receive last version gitlab-ci.yml, right?
Now some branches use old versions gitlab-ci.yml and every time when pipeline run of course i get error. When i do changes in gitlab-ci.yml, this changes should apply for all branches ???