You need to sign in to do that
Don't have an account?
Vladimir Bessonov
sfdx gitlab-ci.yml to run jobs on non master branch
Hi. Can somebody share gitlab-ci.yml for not master branch?
When I use default template - there is a problem when pushed to non master branch.
defined stages are no execuded.
instead of
only the following are executed
I use slightly modifed gitlab-ci.yml from salesforce tamplates for gitlab
It is too long to copy-paste, link is below
sfdx-cicd-template (https://gitlab.com/sfdx/sfdx-cicd-template/-/blob/master/Salesforce.gitlab-ci.yml#L167-169)
When I use default template - there is a problem when pushed to non master branch.
defined stages are no execuded.
instead of
stages: - preliminary-testing - create-scratch-org - test-scratch-org - package - staging - production
only the following are executed
stages: - preliminary-testing - create-scratch-org - test-scratch-org
I use slightly modifed gitlab-ci.yml from salesforce tamplates for gitlab
It is too long to copy-paste, link is below
sfdx-cicd-template (https://gitlab.com/sfdx/sfdx-cicd-template/-/blob/master/Salesforce.gitlab-ci.yml#L167-169)
The stages -package , staging ,production only run in the master branch and this is the default behaviour as mentioned in https://gitlab.com/sfdx/sfdx-cicd-template/-/tree/master.
what if I want to have another branch and be able to deploy to Sandbox from that branch? Where I can get a template for such setup?
in this case shall I create new package for the branch ? it will be like having 2 separate projects in this case?