How to trigger gitlab pipeline when commit to other branches except develop and master, also while merge to master branch?
Budget: ₹100 – ₹400 INR
How to trigger gitlab pipeline when commit to other branches except develop and master, also while merge to master branch?
The below code is not working
rules:
- if: $CI_COMMIT_BRANCH != “master”
- if: $CI_COMMIT_BRANCH != “develop”
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == “master"
The below code is not working
rules:
- if: $CI_COMMIT_BRANCH != “master”
- if: $CI_COMMIT_BRANCH != “develop”
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == “master"